Documentation ¶ Index ¶ func Open(p string) (fs.FS, error) func OpenFile(unipath string) (fs.File, error) func SplitPath(p string) (string, string) type OpenCache func NewOpenCache() OpenCache type StatExtensions Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Open ¶ func Open(p string) (fs.FS, error) func OpenFile ¶ func OpenFile(unipath string) (fs.File, error) func SplitPath ¶ func SplitPath(p string) (string, string) Split a path into two parts on a colon. If no colon is present (or if it's part of a Windows drive prefix), return an empty string and the input. Types ¶ type OpenCache ¶ type OpenCache interface { Open(p string) (fs.FS, error) OpenFile(unipath string) (fs.File, error) } func NewOpenCache ¶ func NewOpenCache() OpenCache type StatExtensions ¶ type StatExtensions interface { // Get some information on the source of a file Provenance() string // Get the SHA256 signature of a file (or nil if unsupported) Signature() []byte } Source Files ¶ View all Source files open.go opencache.go stat_extensions.go union.go Directories ¶ Show internal Expand all Path Synopsis bundle ggpk Click to show internal directories. Click to hide internal directories.