{"modulePath":"github.com/stacklok/trusty-action","version":"v0.0.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubapi\n\n## Types\n\n```go\ntype GitHubClient struct {\n\tClient *github.Client\n\tCtx    context.Context\n}\n```\nGitHubClient wraps the GitHub client and its context\n\n```go\nfunc NewGitHubClient(token string) *GitHubClient\n```\nNewGitHubClient initializes and returns a new GitHubClient\n\n```go\nfunc (g *GitHubClient) GetFileContent(owner, repo, path, ref string) (string, error)\n```\nGetFileContent fetches the content of a file from a specific branch in a repository\n\n","path":"github.com/stacklok/trusty-action/pkg/githubapi","name":"githubapi","synopsis":"","isRedistributable":true}
