filesystem

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context) error

Types

type Config

type Config interface {
	FS() fs.FS
}

type FSConfiger

type FSConfiger interface {
	FSConfig() Config
}

type LocalFS

type LocalFS struct {
	Root string
}

func NewLocalFS

func NewLocalFS(root string) *LocalFS

func (*LocalFS) FS

func (l *LocalFS) FS() fs.FS

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL