Constructors
constructor
- new Repository(token: string, owner: string, name: string, branch?: string): Repository
-
Parameters
-
token: string
-
owner: string
-
name: string
-
Default value branch: string = "master"
Properties
branch
branch: string
github
github: Octokit
name
name: string
owner
owner: string
repoString
repoString: string
token
token: string
Methods
getDirectory
- getDirectory(path: string): Promise<Directory>
-
Parameters
Represents a Repository on GitHub to pull data from