package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Oct 14, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Snap struct {
XMLName xml.Name `xml:"Snap"`
Label string `xml:"label,attr"`
Content []byte `xml:",innerxml"`
}
Snap represents a single snapshot
type Snaps struct {
XMLName xml.Name `xml:"Snaps"`
Snaps []Snap `xml:"Snap"`
}
Snaps represents a set of snapshots from a snapshot file
New reads in byte snapshot data
Add appends a snapshot to the set
Find searches for a snapshot which matches the given label
Serialize converts a set of snapshots to byte data
Update replaces a snapshot which is already present with it's new version
Source Files
¶
Click to show internal directories.
Click to hide internal directories.