Documentation
¶
Index ¶
- func Compress(buf *bytes.Buffer, file *os.File, level int, encrypt bool) error
- func CompressData(data []byte, file *os.File, level int, encrypt bool) error
- func Contains(source, target string) bool
- func Decompress(fpath string, encrypt bool) ([]byte, error)
- func Decrypt(data []byte) ([]byte, error)
- func DecryptFile(fpath string) ([]byte, error)
- func Encrypt(data []byte) ([]byte, error)
- func ListDir(fpath string) ([]string, error)
- func MkDir(fpath string) error
- func MkDirExt(fpath, base_path string, compress bool) (string, error)
- func ReadFile(fpath string, decrypt bool) ([]byte, error)
- func WriteFile(file *os.File, data []byte, encrypt bool) error
- func WriteNewFile(fpath string, data []byte, encrypt bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressData ¶ added in v0.2.11
func DecryptFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.