Documentation ¶
Index ¶
- func CopyDir(src string, dst string) (err error)
- func CopyFile(src, dst string) (err error)
- func NewTarGZArchive(inpath string) (out []byte, err error)
- func RandomString(length int) string
- func StringPtr(str string) *string
- func StringPtrSliceContains(sl []*string, s *string) bool
- func StringSliceContains(sl []string, s string) bool
- func WriteZipFilesToTempDir(files []*zip.File) (path string, dirs map[string][]os.FileInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
CopyDir recursively copies a directory tree, attempting to preserve permissions. Source directory must exist, destination directory must *not* exist. Symlinks are ignored and skipped.
func NewTarGZArchive ¶
func RandomString ¶
func StringPtrSliceContains ¶
func StringSliceContains ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.