MCPcopy
hub / github.com/google/osv.dev / Storer

Interface Storer

gcp/indexer/stages/processing/processing.go:45–48  ·  view source on GitHub ↗

Storer is used to permanently store the results.

Source from the content-addressed store, hash-verified

43
44// Storer is used to permanently store the results.
45type Storer interface {
46 Store(ctx context.Context, repoInfo *preparation.Result, hashType string, bucketNodes []*BucketNode) error
47 Clean(ctx context.Context, repoInfo *preparation.Result, hashType string) error
48}
49
50// FileResult holds the per file hash and path information.
51type FileResult struct {

Callers 3

ExistsMethod · 0.65
processGitMethod · 0.65
CopyFromBucketFunction · 0.65

Implementers 1

Storegcp/indexer/storage/storage.go

Calls

no outgoing calls

Tested by

no test coverage detected