Documentation
¶
Index ¶
- func Copy(srcFile, dstFile string) error
- func CopyDir(scrDir, dest string) error
- func CopySymLink(source, dest string) error
- func CreateIfNotExists(dir string, perm os.FileMode) error
- func GetFilePerm(path string) (string, error)
- func IsExist(path string) bool
- func Mkdir(path string) error
- func Move(src, dst string) error
- func MustOpen(path string) (*os.File, error)
- func MustOpenWithAppend(path string) (*os.File, error)
- func MustOpenWithFlag(path string, flag int) (*os.File, error)
- func Open(path string) (*os.File, error)
- func ReadAsBytes(path string) ([]byte, error)
- func Remove(path string) error
- func WriteAsBytes(path string, b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopySymLink ¶
func GetFilePerm ¶
func ReadAsBytes ¶
func WriteAsBytes ¶
WriteAsBytes will overwrite the target file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.