MCPcopy Index your code
hub / github.com/celer-pkg/celer / fakeContext

Struct fakeContext

configs/pkgcache_artifact_test.go:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type fakeContext struct {
16 platform string
17 project string
18 build string
19 downloads string
20 offline bool
21 pkgCacheConfig context.PkgCacheConfig
22 devCacheConfig context.DevCacheConfig
23}
24
25func (f fakeContext) Version() string { return "test" }
26func (f fakeContext) Platform() context.Platform { return fakePlatform{name: f.platform} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected