Documentation ¶
Index ¶
- func AddFileToTar(tw *tar.Writer, path, dstPath string) error
- func CreateArchive(sourcePath string, w io.Writer) error
- func CreateOneFileArchive(w io.Writer, filename string, data []byte) error
- func Index(vs []string, t string) int
- func IsFileExist(filepath string) bool
- func Map(vs []string, f func(string) string) []string
- func OpenArchive(dstPath string, r io.Reader) error
- func RandString(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOneFileArchive ¶
func IsFileExist ¶ added in v0.4.0
func RandString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.