archive

package
v1.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinPkgArchive     = liberr.MinPkgArchive
	MinPkgArchiveBZ2  = MinPkgArchive + 20
	MinPkgArchiveGZip = MinPkgArchiveBZ2 + 20
	MinPkgArchiveTar  = MinPkgArchiveGZip + 20
	MinPkgArchiveZip  = MinPkgArchiveTar + 20
)

Variables

This section is empty.

Functions

func CleanPath added in v1.9.17

func CleanPath(p string) string

Types

type File

type File struct {
	Name string
	Path string
}

func NewFile

func NewFile(name, path string) File

func NewFileFullPath

func NewFileFullPath(fullpath string) File

func (File) GetDestFileOnly

func (a File) GetDestFileOnly(baseDestination string) string

func (File) GetDestWithPath

func (a File) GetDestWithPath(baseDestination string) string

func (File) GetKeyMap

func (a File) GetKeyMap() string

func (File) Matching

func (a File) Matching(containt string) bool

func (File) MatchingFullPath

func (a File) MatchingFullPath(containt string) bool

func (File) Regex

func (a File) Regex(regex string) bool

func (File) RegexFullPath

func (a File) RegexFullPath(regex string) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL