Documentation
¶
Index ¶
- func ByteCountBinary(b int64) string
- func ChmodR(path string, filePerm, dirPerm os.FileMode) error
- func CopyFile(srcPath, dstPath string) (err error)
- func Decrypt(data []byte, key []byte) []byte
- func Encrypt(data []byte, key []byte, iv []byte) []byte
- func GunzipBuf(data []byte) []byte
- func GzipBuf(data []byte) []byte
- func ReadFileFromTarGz(archivePath, tarPath string) ([]byte, error)
- func ReadFileFromTarGzArchive(source io.Reader, tarPath string) ([]byte, error)
- func ReadFileFromTarGzMemory(archiveData []byte, tarPath string) ([]byte, error)
- func ResolvePath(in string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteCountBinary ¶
ByteCountBinary - Pretty print byte size
func ReadFileFromTarGz ¶
func ReadFileFromTarGzArchive ¶
ReadFileFromTarGz - Read a file from a tar.gz file in-memory
func ReadFileFromTarGzMemory ¶
func ResolvePath ¶
ResolvePath - Resolve a path from an assumed root path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.