Documentation
¶
Index ¶
- func Contains(s []string, e string) bool
- func Exec(cmd string, args []string, env []string) error
- func Factorial(n uint64) (result uint64)
- func GetHomeDir() (ans string)
- func GetURI(s string) (string, error)
- func IsUrl(s string) bool
- func ReverseAny(s interface{})
- func SanitizeImageString(s string) string
- func Tar(src, dest string) error
- func Untar(src, dest string, sameOwner bool) error
- func UntarProtect(src, dst string, sameOwner bool, protectedFiles []string, ...) error
- type TarModifierWrapper
- type TarModifierWrapperFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHomeDir ¶
func GetHomeDir() (ans string)
func ReverseAny ¶
func ReverseAny(s interface{})
func SanitizeImageString ¶
func UntarProtect ¶
func UntarProtect(src, dst string, sameOwner bool, protectedFiles []string, modifier *TarModifierWrapper) error
Types ¶
type TarModifierWrapper ¶
type TarModifierWrapper struct { DestinationPath string Modifier TarModifierWrapperFunc }
func NewTarModifierWrapper ¶
func NewTarModifierWrapper(dst string, modifier TarModifierWrapperFunc) *TarModifierWrapper
func (*TarModifierWrapper) GetModifier ¶
func (m *TarModifierWrapper) GetModifier() archive.TarModifierFunc
Click to show internal directories.
Click to hide internal directories.