Documentation
¶
Index ¶
- func DownloadToCache(src string, opts ...RestyOpt) (string, error)
- func DownloadToPath(src, dest string, opts ...RestyOpt) (string, error)
- func ExtractArchive(src, dest string, opts ...RestyOpt) error
- func GetFilenameForURL(src string, opts ...RestyOpt) (string, error)
- func HTTPGetLatestGitHubReleaseMatchingTag(slug string, r *regexp.Regexp, opts ...RestyOpt) (string, error)
- func HTTPGetLatestGitHubVersion(slug string, opts ...RestyOpt) (string, error)
- func HTTPWriteFile(rawURL, filename string, eTag *ETagItem, fileperm os.FileMode, ...) error
- func RestyTrace(resp *resty.Response, err error)
- func SanitizeArchivePath(dest, target string) (string, error)
- func Uncompress(src, dest string) error
- func Untargz(src, dest string) error
- func Unzip(src, dest string) error
- type ETag
- type ETagItem
- type RestyOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractArchive ¶
func HTTPWriteFile ¶
func RestyTrace ¶
func SanitizeArchivePath ¶
SanitizeArchivePath archive file pathing from "G305: Zip Slip vulnerability".
func Uncompress ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.