Documentation ¶
Index ¶
Constants ¶
View Source
const DirectoryExtension = ".dir"
Variables ¶
This section is empty.
Functions ¶
func Compress ¶
Compress compresses the file inPath using tmpDir fo storing the compressed output file and any intermediate temporary files it might need to create. It returns the full path to the compressed file, or an error.
func Decompress ¶
Decompress decompresses the file inPath to outPath.
func IsObjectCompressed ¶
IsObjectCompressed returns true iff path is of a compressed, i.e., contains a .lz4 extension
func IsObjectDirectory ¶
IsObjectDirectory returns true iff path is of a directory, i.e., contains a .dir extension
func MustRemoveFile ¶
MustRemoveFile tries to delete the file path from the local file system. On error a message is logged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.