Documentation
¶
Index ¶
- type Path
- func (p *Path) Absolute() (*Path, error)
- func (p *Path) Chmod(mode os.FileMode) error
- func (p *Path) Cwd() (*Path, error)
- func (p *Path) Exists() bool
- func (p *Path) IsAbs() bool
- func (p *Path) IsDir() bool
- func (p *Path) IsFile() bool
- func (p *Path) JoinPath(elem ...string) *Path
- func (p *Path) MkDir(mode os.FileMode, parents bool) (err error)
- func (p *Path) Open() ([]byte, error)
- func (p *Path) Parent() (*Path, error)
- func (p *Path) RmDir() error
- func (p *Path) Touch() error
- func (p *Path) Unlink() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path struct {
Path string
}
Path
func (*Path) JoinPath ¶
JoinPath Returns a new path, Combine current path with one or several arguments
Click to show internal directories.
Click to hide internal directories.