filesystem

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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)

func (APIImplementor) Rmdir

func (APIImplementor) Rmdir(path string, force bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL