MCPcopy Create free account
hub / github.com/cli/cli / acceptanceScriptCandidates

Function acceptanceScriptCandidates

acceptance/acceptance_test.go:848–855  ·  view source on GitHub ↗
(tsEnv testScriptEnv, command string)

Source from the content-addressed store, hash-verified

846}
847
848func acceptanceScriptCandidates(tsEnv testScriptEnv, command string) ([]string, bool, error) {
849 files, filtered := selectScripts(command, tsEnv.scripts)
850 if filtered {
851 return files, true, nil
852 }
853 files, err := filepath.Glob(filepath.Join("testdata", command, "*.txtar"))
854 return files, false, err
855}
856
857var keyT struct{}
858

Callers 2

testScriptParamsForFunction · 0.85

Calls 2

selectScriptsFunction · 0.85
JoinMethod · 0.80

Tested by

no test coverage detected