Documentation ¶
Index ¶
- func New(fs billy.Basic) billy.Filesystem
- type Polyfill
- func (h *Polyfill) Chroot(path string) (billy.Filesystem, error)
- func (h *Polyfill) Lstat(path string) (os.FileInfo, error)
- func (h *Polyfill) MkdirAll(filename string, perm os.FileMode) error
- func (h *Polyfill) ReadDir(path string) ([]os.FileInfo, error)
- func (h *Polyfill) Readlink(link string) (string, error)
- func (h *Polyfill) Root() string
- func (h *Polyfill) Symlink(target, link string) error
- func (h *Polyfill) TempFile(dir, prefix string) (billy.File, error)
- func (h *Polyfill) Underlying() billy.Basic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Polyfill ¶
type Polyfill struct { billy.Basic // contains filtered or unexported fields }
Polyfill is a helper that implements all missing method from billy.Filesystem.
func (*Polyfill) Underlying ¶
func (h *Polyfill) Underlying() billy.Basic
Click to show internal directories.
Click to hide internal directories.