MCPcopy Index your code
hub / github.com/docker/cli / Metadata

Method Metadata

cli-plugins/manager/candidate.go:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (c *candidate) Metadata() ([]byte, error) {
18 return exec.Command(c.path, metadata.MetadataSubcommandName).Output() // #nosec G204 -- ignore "Subprocess launched with a potential tainted input or cmd arguments"
19}

Callers

nothing calls this directly

Calls 2

OutputMethod · 0.80
CommandMethod · 0.45

Tested by

no test coverage detected