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

Function createGitProject

test/v200/utils/common/project_test_utils.go:137–141  ·  view source on GitHub ↗

createGitProject creates a git project structure with mandatory attributes set

(numRemotes int)

Source from the content-addressed store, hash-verified

135
136// createGitProject creates a git project structure with mandatory attributes set
137func createGitProject(numRemotes int) *schema.GitProjectSource {
138 project := schema.GitProjectSource{}
139 project.Remotes = getRemotes(numRemotes)
140 return &project
141}
142
143// createZipProject creates a zip project structure
144func createZipProject() *schema.ZipProjectSource {

Callers 2

createProjectMethod · 0.85
createStarterProjectMethod · 0.85

Calls 1

getRemotesFunction · 0.85

Tested by

no test coverage detected