We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6540c41 commit 49207f4Copy full SHA for 49207f4
github/repos_contents.go
@@ -62,7 +62,7 @@ type RepositoryContentFileOptions struct {
62
}
63
64
// RepositoryContentGetOptions represents an optional ref parameter, which can be a SHA,
65
-// branch, or tag.
+// branch, or tag. E.g., `6540c41b`, `heads/main`, `tags/v1.0`.
66
type RepositoryContentGetOptions struct {
67
Ref string `url:"ref,omitempty"`
68
0 commit comments