Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basic ¶
type Basic interface { DirExists(path string) (exists bool, err error) ReadFile(path string) (body []byte, err error) OpenFile(path string) (f File, err error) FileExists(path string) (exists bool, err error) ReadFilesInDir(path string) (files []File, err error) OpenDir(path string) (d Dir) Chroot(path string) Basic }
type File ¶
type File interface { Object io.Reader io.ReaderAt io.ReaderFrom io.WriteSeeker io.WriterAt io.WriterTo io.Closer }
File interface describes a generic file methods.
type Permissions ¶
type Unchrooter ¶
type Unchrooter interface {
Unchroot(path string)
}
Click to show internal directories.
Click to hide internal directories.