Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileAccess ¶
type TreeHashedFile ¶
type TreeHashedFile struct {
// contains filtered or unexported fields
}
func (TreeHashedFile) Content ¶
func (fh TreeHashedFile) Content() (io.ReadCloser, error)
func (TreeHashedFile) Equal ¶
func (fh TreeHashedFile) Equal(other TreeHashedFile) bool
func (TreeHashedFile) Hash ¶
func (fh TreeHashedFile) Hash() string
func (TreeHashedFile) Path ¶
func (fh TreeHashedFile) Path() string
func (TreeHashedFile) Size ¶
func (fh TreeHashedFile) Size() (int64, error)
func (TreeHashedFile) String ¶
func (fh TreeHashedFile) String() string
type Volume ¶
type Volume struct {
// contains filtered or unexported fields
}
Volume is a backup source
func NewVolume ¶
NewVolume creates a volume for specified path. excludes define paths that should not be synchronized.
func (Volume) LoadFile ¶
func (l Volume) LoadFile(subPath string) (_ TreeHashedFile, err error)
LoadFile loads specified file
Click to show internal directories.
Click to hide internal directories.