mirror of
https://github.com/kopia/kopia.git
synced 2026-01-24 06:18:02 -05:00
14 lines
415 B
Go
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"`
|
|
}
|