MCPcopy Create free account
hub / github.com/buildpacks/pack / String

Method String

pkg/cache/cache_opts.go:30–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28)
29
30func (f Format) String() string {
31 switch f {
32 case CacheImage:
33 return "image"
34 case CacheVolume:
35 return "volume"
36 case CacheBind:
37 return "bind"
38 }
39 return ""
40}
41
42func (c *CacheInfo) SourceName() string {
43 switch c.Format {

Callers 15

testCacheFunction · 0.45
StringMethod · 0.45
sanitizedRefFunction · 0.45
GitMetadataFunction · 0.45
generateTagsMapFunction · 0.45
generateBranchMapFunction · 0.45
parseGitDescribeFunction · 0.45
parseGitRefsFunction · 0.45
testMetadataFunction · 0.45
testPrefixWriterFunction · 0.45
TestSimpleLoggerFunction · 0.45

Calls

no outgoing calls

Tested by 5

testCacheFunction · 0.36
testMetadataFunction · 0.36
testPrefixWriterFunction · 0.36
TestSimpleLoggerFunction · 0.36
testLoggingFunction · 0.36