Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶ added in v0.24.1
type Group[T fs.ReadOnly] interface { Add(ph ...Handler[T]) Members() []string Parse(s string) (T, path.Relative, error) }
func NewFSGroup ¶ added in v0.24.1
func NewReadOnlyGroup ¶ added in v0.24.1
type Handler ¶
type Handler[T fs.ReadOnly] interface { // the Schemes Schemes() []string // Get receives an absolute path and returns a filesystem FS and an relative path // or an error // for valid absolute paths with a head that starts with Schema() // Get should always return a working FS Get(abs path.Absolute) (T, path.Relative, error) }
Click to show internal directories.
Click to hide internal directories.