Documentation ¶
Index ¶
- Variables
- func CopyDir(src, dest string) error
- func CopyFile(src, dest string) error
- func IsDir(path string) bool
- func IsDirEmpty(path string) bool
- func IsDirExist(path string) bool
- func IsFileExist(path string) bool
- func MakePath(path string) error
- func Open(path string) (*file, error)
- func Parent(s string) string
- func PathInfo(path string) internalPathInfo
- func RSlash(path string) string
- func ReadFile(path string) ([]byte, error)
- func Remove(path string) error
- func SafeFileContent(path string) []byte
- func Stat(path string) *os.FileInfo
- func SymLink(src, dest string) error
- func WorkingDir() string
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeout = 2 * time.Second
Functions ¶
func PathInfo ¶
func PathInfo(path string) internalPathInfo
PathInfo return detailed information of a path
func SafeFileContent ¶
SafeFileContent return content of a file assumed is accessible
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.