Access PathMapping file and path with named methods.
Create a path from base, name, and extension parts.
Categorise each mapping as original, checksum, or versioned.
Categorise each mapping as original, checksum, or versioned. Extract the original path, checksum, and algorithm.
Check whether a mapping is for a checksum file.
Compute a checksum for a file.
Compute a checksum for a file. Supported algorithms are "md5" and "sha1".
Create a checksum file and mapping.
Create a versioned mapping with the checksum in the name.
Check whether a path is versioned with the checksum.
Replace platform-specific separators with /.
Create a digest mapping for an original file.
Group together digest-related mappings and create any missing checksums or versioned mappings for each path.
Add digest mappings for assets.
Add digest mappings for assets. Take into account existing checksums and versioned files.
Get the base path, name, and extension for a path.
Remove the checksum from a versioned path to get the original path.
Create the checksum prefix.
Add a checksum to the path name to create a versioned path.
Check whether a mapping is for a versioned file.