Documentation ¶
Index ¶
- func AllowedName(name string) error
- func ByteCountBinary(b int64) string
- func ChmodR(path string, filePerm, dirPerm os.FileMode) error
- func Contains[T comparable](elements []T, v T) bool
- func CopyFile(src string, dst string) error
- func DeflateBuf(data []byte) []byte
- func PreludeDecrypt(data []byte, key []byte) []byte
- func PreludeEncrypt(data []byte, key []byte, iv []byte) []byte
- func ReadFileFromTarGz(tarGzFile string, tarPath string) ([]byte, error)
- func ResolvePath(in string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedName ¶
func ByteCountBinary ¶
ByteCountBinary - Pretty print byte size
func Contains ¶
func Contains[T comparable](elements []T, v T) bool
func DeflateBuf ¶
DeflateBuf - Deflate a buffer using BestCompression (9)
func PreludeEncrypt ¶
PreludeEncrypt the results
func ReadFileFromTarGz ¶
ReadFileFromTarGz - Read a file from a tar.gz file in-memory
func ResolvePath ¶
ResolvePath - Resolve a path from an assumed root path
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
basex
Package basex provides fast base encoding / decoding of any given alphabet using bitcoin style leading zero compression.
|
Package basex provides fast base encoding / decoding of any given alphabet using bitcoin style leading zero compression. |
Package lib leakbuf.go is stolen form ss
|
Package lib leakbuf.go is stolen form ss |
Click to show internal directories.
Click to hide internal directories.