View on GitHub

GithubClient

A C# Dll library for working with the Github Rest API

GithubClient

GithubClient.Repositories

ContentFile Class

The contents of a file or directory in a repository

public class ContentFile : GithubClient.Repositories.GitObject

Inheritance System.Object 🡒 GitObject 🡒 ContentFile

See Also

Constructors  
ContentFile(string, string)  
Fields  
Api Github API Url
Properties  
Content File content
DownloadUrl The raw file download URl
Encoding Is always Base-64
GitUrl Github API Url for this objects blob
HtmlUrl A Url to view this object in a browser
Links Collection of links
Name Name of the object4
Path Path to the object
Sha The file’s SHA-1 hash
Size File size in bytes
Type file or dir
Methods  
GetApiUrl() A method to return the API Url
GetEndpointUrl(string, string, string)  
GetEndpointUrl(string, string, string, string)  
GetHeader() A method to return the default header
PutEndpointUrl(string, string, string) Â