MCPcopy Index your code
hub / github.com/google/gapid / Store

Function Store

gapis/database/database.go:44–46  ·  view source on GitHub ↗

Store stores v to the database held by the context.

(ctx context.Context, v interface{})

Source from the content-addressed store, hash-verified

42
43// Store stores v to the database held by the context.
44func Store(ctx context.Context, v interface{}) (id.ID, error) {
45 return Get(ctx).Store(ctx, v)
46}
47
48// Resolve resolves id with the database held by the context.
49func Resolve(ctx context.Context, id id.ID) (interface{}, error) {

Callers 2

BuildFunction · 0.70
GetOrBuildFunction · 0.70

Calls 2

GetFunction · 0.70
StoreMethod · 0.65

Tested by

no test coverage detected