MCPcopy Create free account
hub / github.com/devfile/api / createParentGitProject

Function createParentGitProject

test/v200/utils/common/parent_project_test_utils.go:116–120  ·  view source on GitHub ↗

createParentGitProject creates a git project structure with mandatory attributes set

(numRemotes int)

Source from the content-addressed store, hash-verified

114
115// createParentGitProject creates a git project structure with mandatory attributes set
116func createParentGitProject(numRemotes int) *schema.GitProjectSourceParentOverride {
117 project := schema.GitProjectSourceParentOverride{}
118 project.Remotes = getRemotes(numRemotes)
119 return &project
120}
121
122// createParentZipProject creates a zip project structure
123func createParentZipProject() *schema.ZipProjectSourceParentOverride {

Callers 2

createParentProjectMethod · 0.85

Calls 1

getRemotesFunction · 0.85

Tested by

no test coverage detected