Versions in this module Expand all Collapse all v0 v0.1.0 Jan 22, 2024 Changes in this version + const GB + const KB + const MB + func GetLinesFromZip(zipPath string, paths ...string) (map[string]string, error) + func GetTextFromZip(zipPath string, path string) (string, error) + func GlobMatch(pattern, path string) bool + func ReadFileContext(file *zip.File) string + func SafeCopy(dst io.Writer, src io.Reader) error + func TraverseFilesInZip(zipPath string, visitor func(*zip.File) error, targetPaths ...string) error + type FileManifest map[string]os.FileInfo + func ResolveFileManifest(path string) (FileManifest, error) + func (f FileManifest) Add(path string, info os.FileInfo) + func (f FileManifest) GlobMatch(patterns ...string) []string + type ZipReadCloser struct + func OpenZip(path string) (*ZipReadCloser, error)