Documentation
¶
Index ¶
- func CalSha256AndSize(absPath string, sizeToRead int64) (string, int64, error)
- func CheckReadPath(path string) bool
- func DeleteDir(dir string) bool
- func FloatSecFromTime(t time.Time) float64
- func GetFileSize(filepath string) (int64, error)
- func GetParentFolder(path string) string
- func NormalizeFloatTimestamp(timestamp float64) (int64, int32)
- func TimeFromFloat(timestamp float64) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalSha256AndSize ¶
func CheckReadPath ¶
func FloatSecFromTime ¶
FloatSecFromTime converts a time.Time instance to a floating-point timestamp in seconds.
func GetFileSize ¶
func GetParentFolder ¶
func NormalizeFloatTimestamp ¶
NormalizeFloatTimestamp normalizes a floating-point timestamp to seconds and nanoseconds.
func TimeFromFloat ¶
TimeFromFloat converts a floating-point timestamp to a time.Time instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.