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

Function FileNames

cli/command/completion/functions.go:178–182  ·  view source on GitHub ↗

FileNames is a convenience function to use [cobra.ShellCompDirectiveDefault], which indicates to let the shell perform its default behavior after completions have been provided.

()

Source from the content-addressed store, hash-verified

176// which indicates to let the shell perform its default behavior after
177// completions have been provided.
178func FileNames() cobra.CompletionFunc {
179 return func(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective) {
180 return nil, cobra.ShellCompDirectiveDefault
181 }
182}
183
184var commonPlatforms = []string{
185 "linux/386",

Callers 1

TestCompleteFileNamesFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestCompleteFileNamesFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…