Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Passed a file-system folder or subtree to custom indexer (rather than individual files) #1209

Open
randym32 opened this issue Aug 15, 2021 · 1 comment
Labels

Comments

@randym32
Copy link

Summary:
I would like an mode for the custom indexer to be passed a file-system folder or subtree, rather than individual files.

I have created my own source indexers. It has a mode that scans all of the files in a subtree. When it scans 400 files, it takes only a second; when it scans 1400 files, it takes less than 6.

When I configure Sourcetrail to use the indexer, the process takes 2-3 minutes to scan the 400 files, and 8 minutes to scan scan the 1400 files. (It also takes several minutes after Sourcetrail says the process has completed before it is ready to show anything.)

@mlangkabel
Copy link
Contributor

No, this is currently not possible. You could create a "custom" source group that just indexes a single .txt file that lists all the folders that you want your indexer to scan.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants