Documentation ¶
Index ¶
- func CheckFileOwner(file, uname string) bool
- func ChmodDirR(dname string, mode os.FileMode) error
- func ChownDirR(dname, uname string) error
- func ChownFile(fname, uname string) error
- func CopyDir(src, dst string) error
- func CopyFile(src, dst string) error
- func DownloadCode(dst, src string) error
- func GetHostName() (string, error)
- func GetLocalIP() ([]string, error)
- func GetMd5String(str string) string
- func IsDir(path string) bool
- func IsExists(path string) bool
- func IsFile(path string) bool
- func IsUser(uname string) bool
- func ReadUUIDFromFile(uuidfile string) (string, error)
- func RemoveContents(dir string) error
- func WalkOnce(root string, walkFn filepath.WalkFunc) error
- func WriteUUID2File(uuidfile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadCode ¶
从http链接下载代码 http://lp:0124@127.0.0.1/hfp/tst.tar.gz
func GetHostName ¶
func GetLocalIP ¶
func GetMd5String ¶
func ReadUUIDFromFile ¶
func WriteUUID2File ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.