Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeOmit = "-" TypeAuto = "a" TypeAutoRel = "ar" TypeDirectory = "d" TypeRecursive = "R" TypeRecursiveRel = "Rr" TypeRegular = "f" TypeRegularRel = "fr" TypeGlob = "r" TypeGlobRel = "rr" TypeSymlink = "l" TypeCreate = "c" TypeCreateNoEndl = "cl" TypeLinked = "L" TypeLinkedGlob = "rL" TypeLinkedAbs = "LA" TypeLibrary = "i" TypePath = "p" TypeBase64 = "b64" TypeVariable = "$" )
Variables ¶
View Source
var Opt struct { Warn struct { EmptyGlob bool `desc:"Glob types don't return any matches"` Replace bool `desc:"Entry is replaced"` } ELF struct { Expand bool `desc:"Resolve all ELF source symlinks"` Fallback bool `desc:"Fallback to adding a file on ELF format errors"` Once bool `desc:"Only add ELFs once"` Concurrent bool `desc:"Load ELFs concurrently, results are added to the end of the archive"` NumGoroutine int `desc:"Number of goroutines resolving ELFs"` } Glob struct { Expand bool `desc:"Resolve all symlinks for globs"` } File struct { Expand bool `desc:"Resolve all symlinks for relative files"` } Path PathVar `desc:"Search path"` }
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
Src, Dst string
User, Group int
Mode int
Type string
Heredoc string
Time int64
Line int
Data []byte
LibraryPath []string
}
TODO: uint32 uid, gid <-> syscall.Stat_t
Click to show internal directories.
Click to hide internal directories.