Files
kopia/internal/hashcache/hashcache.go
2017-10-14 16:38:22 -07:00

14 lines
405 B
Go

// Package hashcache implements streaming cache of file hashes.
package hashcache
import "github.com/kopia/kopia/object"
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 object.ID `json:"oid,omitempty"`
}