Documentation ¶
Overview ¶
Package holes finds and pretty-prints holes & data sections of a file. Used by TestFileHoleCopy in the gocryptfs test suite.
Index ¶
Constants ¶
View Source
const ( SEEK_DATA = 3 SEEK_HOLE = 4 SegmentHole = SegmentType(100) SegmentData = SegmentType(101) SegmentEOF = SegmentType(102) )
Variables ¶
This section is empty.
Functions ¶
func PrettyPrint ¶
PrettyPrint pretty-prints the Segments.
Types ¶
type Segment ¶
type Segment struct { Offset int64 Type SegmentType }
type SegmentType ¶
type SegmentType int
func (SegmentType) String ¶
func (s SegmentType) String() string
Click to show internal directories.
Click to hide internal directories.