# Functions

AddBaseDir returns a new MappingRule that calls rule.Map then prepends dir to the returned path.
AppendExt returns a new MappingRule that calls rule.Map then appends ext to the returned path.
MapToDevNull returns a MappingRule to write no files.
NewFileWriteCache creates and initializes a new ResourceCache that also saves signed exchanges to files on the Store operations.
StripDir returns a new MappingRule that calls rule.Map then eliminates the directory part (anything but the last element) from the returned path.
UsePhysicalURLPath returns a MappingRule to use PhysicalURL.Path.
UseValidityURLPath returns a MappingRule to use ValidityURL.Path.

# Structs

Config holds the parameters to NewFileWriteCache.

# Interfaces

MappingRule defines the rule of mapping Resources into files.