forked from mirrors/tar-split
WIP
This commit is contained in:
parent
e2a62d6b0d
commit
5c8d5cacba
13 changed files with 265 additions and 50 deletions
18
tar/asm/options.go
Normal file
18
tar/asm/options.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
package asm
|
||||
|
||||
// Defaults that matched existing behavior
|
||||
var (
|
||||
DefaultOutputOptions = OptFileCheck | OptSegment
|
||||
DefaultInputOptions = OptFileCheck | OptSegment
|
||||
)
|
||||
|
||||
// Options for processing the tar stream with additional options. Like
|
||||
// including entries for on-disk verification.
|
||||
type Options int
|
||||
|
||||
// The options include the FileCheckEntry, SegmentEntry, and for VerficationEntry
|
||||
const (
|
||||
OptFileCheck Options = 1 << iota
|
||||
OptSegment
|
||||
OptVerify
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue