Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
17
func
(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
Output
Method · 0.80
Command
Method · 0.45
Tested by
no test coverage detected