GithubClient
GithubClient.Git
Blob Class
A Git blob (binary large object) is the object type used to store the contents of each file in a repository.
public class Blob : GithubClient.Git.GitObject
Inheritance System.Object 🡒 GitObject 🡒 Blob
See Also
Constructors | |
---|---|
Blob(string, string) | Default ctor with required properties |
Fields | |
---|---|
Api | Github API Url |
Properties | |
---|---|
Content | File Contents |
Encoding | The encoding used for content. Currently, “utf-8” and “base64” are supported. |
HighlightedContent | |
NodeId | Id of a Node (Node is a generic term for an object) used in GraphQL |
Size | File size in bytes |
Methods | |
---|---|
GetApiUrl() | A method to return the API Url |
GetEndpoint(string, string, string) | The endpoint used to get a blob from the API |
GetHeader() | A method to return the default header |
PostEndpoint(string, string) | The endpoint used to post a blob to the API |