MCPcopy Index your code
hub / github.com/docker/docker-agent / WithBaseDir

Function WithBaseDir

pkg/content/store.go:61–65  ·  view source on GitHub ↗
(baseDir string)

Source from the content-addressed store, hash-verified

59type Opt func(*Store)
60
61func WithBaseDir(baseDir string) Opt {
62 return func(s *Store) {
63 s.baseDir = baseDir
64 }
65}
66
67// NewStore creates a new content store
68func NewStore(opts ...Opt) (*Store, error) {

Calls

no outgoing calls