Documentation ¶
Index ¶
- Variables
- func NewMapperFS(cfg Config) billy.Filesystem
- func Serve(addr string, fs billy.Filesystem) error
- type Config
- type MapperFS
- func (m *MapperFS) Open(filename string) (billy.File, error)
- func (m *MapperFS) OpenFile(filename string, flag int, perm fs.FileMode) (billy.File, error)
- func (m *MapperFS) ReadDir(path string) ([]fs.FileInfo, error)
- func (m *MapperFS) Resolve(filename string) (lfs billy.Filesystem, p string, err error)
- func (m *MapperFS) Stat(filename string) (fs.FileInfo, error)
- type ROFS
Constants ¶
This section is empty.
Variables ¶
View Source
var (
)Functions ¶
func NewMapperFS ¶ added in v0.0.2
func NewMapperFS(cfg Config) billy.Filesystem
Types ¶
type MapperFS ¶ added in v0.0.2
type ROFS ¶
type ROFS struct {
billy.Filesystem
}
func (ROFS) Capabilities ¶
func (ROFS) Capabilities() billy.Capability
Capabilities exports the filesystem as readonly
Click to show internal directories.
Click to hide internal directories.