mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-04-23 05:46:16 +02:00
add index on path and repoId for files
This commit is contained in:
@@ -179,7 +179,7 @@ export default class Repository {
|
||||
if (opt.recursive === false) {
|
||||
pathQuery = opt.path ? new RegExp(`^${opt.path}$`) : "";
|
||||
}
|
||||
|
||||
|
||||
const query: FilterQuery<IFile> = {
|
||||
repoId: this.repoId,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user