mirror of
https://github.com/kopia/kopia.git
synced 2026-03-19 14:46:30 -04:00
20 lines
542 B
Go
20 lines
542 B
Go
package snapshot
|
|
|
|
import "github.com/kopia/kopia/repo"
|
|
|
|
// Stats keeps track of snapshot generation statistics.
|
|
type Stats struct {
|
|
Repository repo.Stats `json:"repo,omitempty"`
|
|
|
|
TotalDirectoryCount int `json:"dirCount"`
|
|
TotalFileCount int `json:"fileCount"`
|
|
TotalFileSize int64 `json:"totalSize"`
|
|
TotalBundleCount int `json:"bundleCount"`
|
|
TotalBundleSize int64 `json:"totalBundleSize"`
|
|
|
|
CachedFiles int `json:"cachedFiles"`
|
|
NonCachedFiles int `json:"nonCachedFiles"`
|
|
|
|
ReadErrors int `json:"readErrors"`
|
|
}
|