Documentation ¶
Index ¶
Constants ¶
View Source
const Extension = ".gkup"
Variables ¶
View Source
var ErrNumberOfFilesDoesNotMatch = errors.New("numbers of files written doesn't match with the numberOfFiles provided when initializing writer")
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct { Meta Metadata // contains filtered or unexported fields }
Reader represents a snapshot reader
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer represents the writer of a snapshot
func NewWriter ¶
NewWriter takes the path of a new snapshot and the number of files that it will contain, and return a new writer.
Click to show internal directories.
Click to hide internal directories.