module Sprockets::URIUtils

def build_file_digest_uri(path)

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

def build_file_digest_uri: (String path) -> String

This signature was generated using 71 samples from 6 applications.

Returns String URI.

path - String file path

# => "file-digest:/tmp/js/application.js"
build("/tmp/js/application.js")

Examples

Internal: Build file-digest dependency URI.
def build_file_digest_uri(path)
  join_file_uri('file-digest'.freeze, nil, path, nil)
end