Documentation ¶
Index ¶
- type Workdir
- func (env *Workdir) Close()
- func (env *Workdir) Exists(filename string) bool
- func (env *Workdir) GetCwd() string
- func (env *Workdir) GetRoot() *Workdir
- func (env *Workdir) Goto(dir ...string) *Workdir
- func (env *Workdir) IsDir(filename string) bool
- func (env *Workdir) IsFile(filename string) bool
- func (env *Workdir) IterFiles(dir string, handler func(*file.File) error) (err error)
- func (env *Workdir) MkdirAll(filename string, perm os.FileMode) (err error)
- func (env *Workdir) Path(filename string) string
- func (env *Workdir) ReadDir(filename string) ([]os.FileInfo, error)
- func (env *Workdir) ReadFile(filename string) ([]byte, error)
- func (env *Workdir) Rebase() (sub *Workdir)
- func (env *Workdir) Remove(filename string) error
- func (env *Workdir) RemoveCwd() error
- func (env *Workdir) Spawn() (sub *Workdir)
- func (env *Workdir) Split() (dir, file string)
- func (env *Workdir) Stat(filename string) (os.FileInfo, error)
- func (env *Workdir) WriteFile(filename string, data []byte, perm os.FileMode) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.