Stores data of a repository.
Create a new Repository instance.
The root path of the repository.
The name of the branch this repository is on right now.
A list of all files tracked by the repository.
The hostname for this github project.
github.com (for normal, public GitHub instance projects)
Or the hostname for an enterprise version of GitHub, e.g.
(if found as a match in the list of git remotes).
The project name of this repository on GitHub.
The user/organisation name of this repository on GitHub.
The root path of this repository.
Check whether the given file is tracked by this repository.
The name of the file to test for.
TRUE when the file is part of the repository, otherwise FALSE.
Get the URL of the given file on GitHub.
The file whose GitHub URL should be determined.
An url pointing to the web preview of the given file or NULL.
Try to create a new repository instance.
Checks whether the given path is the root of a valid repository and if so creates a new instance of Repository.
The potential repository root.
A new instance of Repository or undefined.
Generated using TypeDoc