Documentation
¶
Index ¶
- func AbsoluteURL(rawurl, ref string) (string, error)
- func AddPathPrefix(prefix string, files ...string) []string
- func CleanName(filename string) string
- func CreateTarball(pathname string, files ...string) error
- func Filter(vs []string, f func(string) bool) []string
- func SplitFilename(filename string) (name string, ext string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsoluteURL ¶
AbsoluteURL returns the absolute URL of ref in the context of rawurl.
func AddPathPrefix ¶
AddPathPrefix adds the prefix to all pathname.
func CreateTarball ¶
CreateTarball creates a new tarball at pathname location with all the given filepaths.
func SplitFilename ¶
SplitFilename splits a filename in two parts: the name and the file extension.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.