Files
kopia/internal/hashcache/hashcache.go
2017-01-29 07:50:49 -08:00

14 lines
415 B
Go

// Package hashcache implements streaming cache of file hashes.
package hashcache
import "github.com/kopia/kopia/repo"
var hashCacheStreamType = "kopia:hashcache"
// Entry represents an entry in hash cache database about single file or directory.
type Entry struct {
Name string `json:"name,omitempty"`
Hash uint64 `json:"hash,omitempty"`
ObjectID repo.ObjectID `json:"oid,omitempty"`
}