MCPcopy Index your code
hub / github.com/commitdev/zero / createRepository

Function createRepository

internal/vcs/create-git-repos.go:106–114  ·  view source on GitHub ↗

createRepository will create a new repository in github

(request *graphql.Request)

Source from the content-addressed store, hash-verified

104
105// createRepository will create a new repository in github
106func createRepository(request *graphql.Request) error {
107 c := graphql.NewClient("https://api.github.com/graphql")
108 ctx := context.Background()
109 if err := c.Run(ctx, request, nil); err != nil {
110 return err
111 }
112
113 return nil
114}
115
116const getOrganizationQuery = `query ($ownerName: String!) {
117 organization(login: $ownerName) {

Callers 1

InitializeRepositoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected