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 GunzipBuf(data []byte) []byte
- func GzipBuf(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 ¶ added in v1.5.18
func ByteCountBinary ¶
ByteCountBinary - Pretty print byte size
func Contains ¶ added in v1.5.30
func Contains[T comparable](elements []T, v T) bool
func DeflateBuf ¶ added in v1.5.22
DeflateBuf - Deflate a buffer using BestCompression (9)
func PreludeDecrypt ¶ added in v1.5.16
PreludeDecrypt a command
func PreludeEncrypt ¶ added in v1.5.16
PreludeEncrypt the results
func ReadFileFromTarGz ¶ added in v1.5.0
ReadFileFromTarGz - Read a file from a tar.gz file in-memory
func ResolvePath ¶ added in v1.5.0
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.