Documentation
¶
Index ¶
- func Chown(path string, uid int, gid int, recurse bool) error
- func CopyFile(src, dst string, perm os.FileMode) error
- func Create(file string, perm os.FileMode) (*os.File, error)
- func CreateRW(file string, perm os.FileMode) (*os.File, error)
- func Exists(path string) (bool, error)
- func IsExistingDir(path string) bool
- func OpenExistingRDWR(file string) (*os.File, error)
- func OpenExistingReadonly(file string) (*os.File, error)
- func ReadFile(path string) ([]byte, error)
- func Remove(path string) error
- func Rename(oldpath, newpath string) error
- func WriteFile(path string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exists ¶
Returns whether or not a path exists. A path we refuse to follow is an error, not an absence
func IsExistingDir ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.