Documentation ¶
Overview ¶
Package osfs provides a billy filesystem for the OS.
Index ¶
- func New(baseDir string) billy.Filesystem
- type OS
- func (fs *OS) Capabilities() billy.Capability
- func (fs *OS) Create(filename string) (billy.File, error)
- func (fs *OS) Join(elem ...string) string
- func (fs *OS) Lstat(filename string) (os.FileInfo, error)
- func (fs *OS) MkdirAll(path string, perm os.FileMode) error
- func (fs *OS) Open(filename string) (billy.File, error)
- func (fs *OS) OpenFile(filename string, flag int, perm os.FileMode) (billy.File, error)
- func (fs *OS) ReadDir(path string) ([]os.FileInfo, error)
- func (fs *OS) Readlink(link string) (string, error)
- func (fs *OS) Remove(filename string) error
- func (fs *OS) RemoveAll(path string) error
- func (fs *OS) Rename(from, to string) error
- func (fs *OS) Stat(filename string) (os.FileInfo, error)
- func (fs *OS) Symlink(target, link string) error
- func (fs *OS) TempFile(dir, prefix string) (billy.File, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.