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

Method String

github/repos_contents.go:77–79  ·  view source on GitHub ↗

String converts RepositoryContent to a string. It's primarily for testing.

()

Source from the content-addressed store, hash-verified

75
76// String converts RepositoryContent to a string. It's primarily for testing.
77func (r RepositoryContent) String() string {
78 return Stringify(r)
79}
80
81// GetContent returns the content of r, decoding it if necessary.
82func (r *RepositoryContent) GetContent() (string, error) {

Callers 2

GetContentsMethod · 0.45

Calls 1

StringifyFunction · 0.85

Tested by 1