Documentation ¶
Index ¶
Constants ¶
View Source
const ( TYPE_PRIMARY = "primary" TYPE_FILELISTS = "filelists" TYPE_OTHER = "other" TYPE_PRIMARY_DB = "primary_db" TYPE_FILELISTS_DB = "filelists_db" TYPE_OTHER_DB = "other_db" TYPE_PRIMARY_ZCK = "primary_zck" TYPE_FILELISTS_ZCK = "filelists_zck" TYPE_OTHER_ZCK = "other_zck" )
Variables ¶
This section is empty.
Functions ¶
func ValidateChecksum ¶
ValidateChecksum validates file checksum
Types ¶
type Index ¶
Index contains info about all metadata files
type Location ¶
type Location struct {
HREF string `xml:"href,attr"`
}
Location contains info about data location
type Metadata ¶
type Metadata struct { Type string `xml:"type,attr"` Checksum Checksum `xml:"checksum"` OpenChecksum Checksum `xml:"open-checksum"` Location Location `xml:"location"` DatabaseVersion int `xml:"database_version"` Timestamp int64 `xml:"timestamp"` Size int64 `xml:"size"` OpenSize int64 `xml:"open-size"` HeaderSize int64 `xml:"header-size"` }
Metadata contains info about metadata
Click to show internal directories.
Click to hide internal directories.