MCPcopy Index your code
hub / github.com/google/go-github / opsFile

Method opsFile

tools/metadata/main.go:63–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func (c *rootCmd) opsFile() (string, *operationsFile, error) {
64 filename := filepath.Join(c.WorkingDir, "openapi_operations.yaml")
65 opsFile, err := loadOperationsFile(filename)
66 if err != nil {
67 return "", nil, err
68 }
69 return filename, opsFile, nil
70}
71
72func githubClient(apiURL, uploadURL string) (*github.Client, error) {
73 token := os.Getenv("GITHUB_TOKEN")

Callers 4

RunMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80

Calls 1

loadOperationsFileFunction · 0.85

Tested by

no test coverage detected