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