package
0.0.0-20240716191935-69006aedefdc
Repository: https://github.com/cyverse/irodsfs-common.git
Documentation: pkg.go.dev
# Functions
GetChecksumString returns string from checksum bytes.
GetDirname returns the dir of the path.
GetFileName returns the filename of the path.
GetIRODSZone returns the zone of the iRODS path.
GetParentDirs returns all parent dirs.
GetPathDepth returns depth of the path "/" returns 0 "abc" returns -1 "/abc" returns 0 "/a/b" returns 1 "/a/b/c" returns 2.
GetRelativePath returns relative path.
GetSHA1Sum returns sha1 check sum string.
IsAbsolutePath returns true if the path is absolute.
JoinPath makes the path from dir and file paths.
MakeTimeToString returns text represented time from time.Time.
No description provided by the author
ParseTime returns time.Time from text represented time.
SplitPath splits the path into dir and file.
No description provided by the author
# Structs
FileBlockHelper helps block/offset related calculation.
# Type aliases
Duration is a replacement of time.Duration that supports JSON.