package
0.0.0-20241218000452-bb8d5500cdbe
Repository: https://github.com/mini-maxit/file-storage.git
Documentation: pkg.go.dev
# Functions
CloseIO tries to close any io.Closer and logs an error if one occurs.
DecompressArchive decompresses archive (either .zip or .tar.gzip) to the given newPath.
DecompressGzip decompresses a Gzip archive from archivePath to a new directory in the newPath.
DecompressZip decompresses a Gzip archive from archivePath to a new directory in the newPath.
FileSize returns size of file.
RemoveDirectory tries to remove any directory from given path and logs an error if one occurs.