Versions in this module Expand all Collapse all v0 v0.19.3 May 4, 2026 Changes in this version + const FileScheme + const HFScheme + const HFSchemeLong + func DirHash[F Dirhashable](files []F) string + func NormalizeURI(uri string) (string, error) + type DirhashPart struct + Digest string + Path string + func (p DirhashPart) String() string + type Dirhashable interface + DirhashParts func() DirhashPart + type FileSource struct + func NewFileSource(uri, projectDir string) (*FileSource, error) + func (s *FileSource) Inventory(ctx context.Context) (Inventory, error) + func (s *FileSource) Open(ctx context.Context, path string) (io.ReadCloser, error) + type Fingerprint string + func (f Fingerprint) Scheme() string + func (f Fingerprint) String() string + type HFSource struct + func NewHFSource(uri string) (*HFSource, error) + func (s *HFSource) Inventory(ctx context.Context) (Inventory, error) + func (s *HFSource) Open(ctx context.Context, path string) (io.ReadCloser, error) + type Inventory struct + Files []InventoryFile + Fingerprint Fingerprint + func FilterInventory(inv Inventory, include, exclude []string) (Inventory, error) + type InventoryFile struct + Digest string + Path string + Size int64 + func (f InventoryFile) DirhashParts() DirhashPart + type Source interface + Inventory func(ctx context.Context) (Inventory, error) + Open func(ctx context.Context, path string) (io.ReadCloser, error) + func For(uri, projectDir string) (Source, error) + type ZeroSurvivorsError struct + Exclude []string + Include []string + InventorySize int + func (e *ZeroSurvivorsError) Error() string