Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) }
type Registry ¶ added in v0.20.8
type Registry[T fs.ReadOnly] interface { Register(ph ...Handler[T]) Schemes() []string Parse(s string) (T, path.Relative, error) }
func NewReadOnly ¶ added in v0.20.11
type SQLiteMemFS ¶
func (SQLiteMemFS) Schemes ¶
func (u SQLiteMemFS) Schemes() []string
Click to show internal directories.
Click to hide internal directories.