Interface: MakeGitDataSourceParams
sources.MakeGitDataSourceParams
Properties
filter
• filter: FilterFunc
Filter function for selecting files in the repo to parse to pages.
Example
(path: string) => path.endsWith(".html")
Defined in
mongodb-rag-ingest/src/sources/GitDataSource.ts:48
handlePage
• handlePage: HandlePageFunc
Defined in
mongodb-rag-ingest/src/sources/GitDataSource.ts:55
metadata
• Optional
metadata: PageMetadata
Metadata to be included in all pages.
Defined in
mongodb-rag-ingest/src/sources/GitDataSource.ts:53
name
• name: string
Name of project
Defined in
mongodb-rag-ingest/src/sources/GitDataSource.ts:27
repoOptions
• Optional
repoOptions: TaskOptions
Options for simple-git
clone command.
Default
{ "--depth": 1 }
Defined in
mongodb-rag-ingest/src/sources/GitDataSource.ts:41
repoUri
• repoUri: string
URI for git repo
Example
"https://github.com/mongodb/mongo-java-driver.git"