Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIImplementor ¶
type APIImplementor struct{}
func New ¶
func New() APIImplementor
func (APIImplementor) IsMountPoint ¶
func (APIImplementor) IsMountPoint(tgt string) (bool, error)
IsMountPoint - returns true if its a mount point. A path is considered a mount point if:
- directory exists and
- it is a soft link and
- the target path of the link exists.
func (APIImplementor) LinkPath ¶
func (APIImplementor) LinkPath(oldname, newname string) error
func (APIImplementor) Mkdir ¶
func (APIImplementor) Mkdir(path string) error
func (APIImplementor) PathExists ¶
func (APIImplementor) PathExists(path string) (bool, error)
Click to show internal directories.
Click to hide internal directories.