class Sprockets::Rails::HelperAssetResolvers::Environment

def digest_path(path, allow_non_precompiled = false)

Experimental RBS support (using type sampling data from the type_fusion project).

def digest_path: (String path, ?nil allow_non_precompiled) -> untyped

This signature was generated using 1 sample from 1 application.

def digest_path(path, allow_non_precompiled = false)
  if asset = find_asset(path)
    raise_unless_precompiled_asset asset.logical_path unless allow_non_precompiled
    asset.digest_path
  end
end