GITHUB_ACCESS_TOKEN
environment variable to a GitHub access token to increase the rate limit and access private repositories.
ignorePaths
array into the constructor:
github.com
, e.g. if you have a GitHub Enterprise instance for your company.
For this you need two additional parameters:
baseUrl
- the base URL of your GitHub instance, so the githubUrl matches <baseUrl>/<owner>/<repo>/...
apiUrl
- the URL of the API endpoint of your GitHub instanceprocessSubmodules
parameter. By default, submodules are not processed.
Note that processing submodules works only in conjunction with setting the recursive
parameter to true.
loadAsStream
method to asynchronously streams documents from the entire GitHub repository.