MCPcopy
hub / github.com/kopia/kopia / storageInMemoryFlags

Struct storageInMemoryFlags

tests/testenv/storage_inmemory.go:15–17  ·  view source on GitHub ↗

storageInMemoryFlags is in-memory storage initialization flags for cli setup.

Source from the content-addressed store, hash-verified

13// storageInMemoryFlags is in-memory storage initialization flags for cli
14// setup.
15type storageInMemoryFlags struct {
16 options repotesting.ReconnectableStorageOptions
17}
18
19func (c *storageInMemoryFlags) Setup(_ cli.StorageProviderServices, cmd *kingpin.CmdClause) {
20 cmd.Flag("uuid", "UUID of the reconnectable in-memory storage").Required().StringVar(&c.options.UUID)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected