# Functions
No description provided by the author
Chmod changes mod of a path.
CreateFile creates an empty file with given length (if size > 0).
CreateFolder creates folder on local drive.
Elapsed gets time elapsed.
Exit exits the program with non-zero status code.
Finish exits the program with zero status code.
FromByteSize converts size string in bytes into uinit, e.g., 1024 into 1K.
GenTempFileName generate /tmp/%x files where %x is md5 value of all parts concate together.
GetDstPath gets the destination path.
GetFileCRC32C gets the crc32c of a file.
GetFileMD5 gets the md5 of a file.
GetFileModificationTime gets mtime of a file.
GetFileSize gets the size of a file.
GetRelativePath gets the relative path given path and directory.
GetTempFile gets a temp file name.
GetWorkDir returns the directory where the executable file put.
IsPathDirectory determines if a path is a directory.
IsPathExist determines if a path exists.
IsPathFile determines if a path is a file.
IsSubPath checks if a path is under another one in directory manner case 1: gs://abc/def -> gs://abc/def : true case 2: gs://abc/def -> gs://abc/de : false case 3: gs://abc/def -> gs://abc/def/ : false case 4: gs://abc/def/-> gs://abc/def/ : true case 5: gs://abc/def/ghi -> gs://abc/def : true case 6: gs://abc/def/ghi -> gs://abc/de : false case 7: gs://abc/def/ghi -> gs://abc/def/ : true.
IsTempFile checks if a file is temp file.
JoinPath combines dir and parts into a new path.
ParseFile parses file into dir, name.
No description provided by the author
ParseURL parses url into scheme, bucket, prefix.
Recovery recovers from exceptions.
SetFileModificationTime sets mtime to a file.
SetPrefixAsDirectory sets the prefix as directory.
# Variables
No description provided by the author