Documentation ¶
Index ¶
- func PrintBackupStats(tracker backupmodel.BackupReport, volumePath string)
- type BackupProgress
- func (p *BackupProgress) OnAnalysed(done, total backupmodel.MediaCounter)
- func (p *BackupProgress) OnDownloaded(done, total backupmodel.MediaCounter)
- func (p *BackupProgress) OnScanComplete(total backupmodel.MediaCounter)
- func (p *BackupProgress) OnUploaded(done, total backupmodel.MediaCounter)
- func (p *BackupProgress) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintBackupStats ¶
func PrintBackupStats(tracker backupmodel.BackupReport, volumePath string)
Types ¶
type BackupProgress ¶
type BackupProgress struct {
// contains filtered or unexported fields
}
func NewProgress ¶
func NewProgress() *BackupProgress
func (*BackupProgress) OnAnalysed ¶
func (p *BackupProgress) OnAnalysed(done, total backupmodel.MediaCounter)
func (*BackupProgress) OnDownloaded ¶
func (p *BackupProgress) OnDownloaded(done, total backupmodel.MediaCounter)
func (*BackupProgress) OnScanComplete ¶
func (p *BackupProgress) OnScanComplete(total backupmodel.MediaCounter)
func (*BackupProgress) OnUploaded ¶
func (p *BackupProgress) OnUploaded(done, total backupmodel.MediaCounter)
func (*BackupProgress) Stop ¶
func (p *BackupProgress) Stop()
Click to show internal directories.
Click to hide internal directories.