MCPcopy Create free account
hub / github.com/celer-pkg/celer / fakeContext

Struct fakeContext

pkgcache/cache_repo_test.go:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45func (f fakeDevCache) GetDevArtifactCache() context.DevAritifactCache { return nil }
46
47type fakeContext struct {
48 pkgCache fakePkgCache
49 devCache fakeDevCache
50 offline bool
51}
52
53func (fakeContext) Version() string { return "test" }
54func (fakeContext) Platform() context.Platform { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected