Documentation
¶
Index ¶
- type WorkDir
- func (t WorkDir) CopyContentsTo(target WorkDir) error
- func (t WorkDir) CopyFile(from string, to string) error
- func (t WorkDir) Cwd() string
- func (t WorkDir) Exists() bool
- func (t WorkDir) ExistsChild(path string) bool
- func (t WorkDir) NewCommand(command string, args ...string) util_cmd.Command
- func (t WorkDir) ReadFile(name string) (string, error)
- func (t WorkDir) RemoveAll()
- func (t WorkDir) Root() string
- func (t WorkDir) WithChildCwd(path string) WorkDir
- func (t WorkDir) WithRootFsCwd(path string) WorkDir
- func (t WorkDir) WriteFile(name string, contents string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkDir ¶
type WorkDir struct {
// contains filtered or unexported fields
}
func NewWorkDir ¶
func (WorkDir) CopyContentsTo ¶
func (WorkDir) ExistsChild ¶
func (WorkDir) NewCommand ¶
func (WorkDir) WithChildCwd ¶
func (WorkDir) WithRootFsCwd ¶
Click to show internal directories.
Click to hide internal directories.