MCPcopy Create free account
hub / github.com/blobcache/blobcache / DefaultVolumeSpec

Function DefaultVolumeSpec

src/schema/bcgit/remote.go:20–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func DefaultVolumeSpec() blobcache.VolumeSpec {
21 return blobcache.VolumeSpec{
22 Local: &blobcache.VolumeBackend_Local{
23 HashAlgo: blobcache.HashAlgo_SHA2_256,
24 MaxSize: gitrh.MaxSize,
25 },
26 }
27}
28
29type GitRef = gitrh.Ref
30

Callers 2

git.goFile · 0.92
setupFunction · 0.85

Calls

no outgoing calls

Tested by 1

setupFunction · 0.68