Documentation
¶
Overview ¶
Package file implements a Gatherer for local filesystem sources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSMetadata ¶
FSMetadata holds metadata about a gathered filesystem resource.
func (FSMetadata) GetPinnedURL ¶
func (f FSMetadata) GetPinnedURL(u string) (string, error)
GetPinnedURL returns a deterministic file:: URL for the given path.
type FileGatherer ¶
type FileGatherer struct{}
FileGatherer gathers resources from local file paths.
func (*FileGatherer) Matcher ¶
func (f *FileGatherer) Matcher(uri string) bool
Matcher returns true if the URI looks like a local file path.
Click to show internal directories.
Click to hide internal directories.