MCPcopy
hub / github.com/kopia/kopia / directRepository

Struct directRepository

repo/repository.go:131–141  ·  view source on GitHub ↗

directRepository is an implementation of repository that directly manipulates underlying storage.

Source from the content-addressed store, hash-verified

129
130// directRepository is an implementation of repository that directly manipulates underlying storage.
131type directRepository struct {
132 immutableDirectRepositoryParameters
133
134 blobs blob.Storage
135 cmgr *content.WriteManager
136 omgr *object.Manager
137 mmgr *manifest.Manager
138 sm *content.SharedManager
139
140 afterFlush []RepositoryWriterCallback
141}
142
143// DeriveKey derives encryption key of the provided length from the master key.
144func (r *directRepository) DeriveKey(purpose string, keyLength int) (derivedKey []byte, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected