Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSHA256 ¶
ComputeSHA256 calculates SHA256 hash of a file
func ManifestPath ¶
Types ¶
type BackupEntry ¶
type Manifest ¶
type Manifest struct {
Project string `json:"project"`
Source string `json:"source"`
Backups []BackupEntry `json:"backups"`
}
func (*Manifest) AddBackup ¶
func (m *Manifest) AddBackup(entry BackupEntry)
func (*Manifest) LatestBackup ¶
func (m *Manifest) LatestBackup() *BackupEntry
Click to show internal directories.
Click to hide internal directories.