Source

Branch

1/ @psychip

@CharlieMQV

i’m working on exact same project with extra steps. reading a disk is a thing, finding new files without full rescan is another thing. currently researching about directly reading usn journal for updated & modified files. dm if interested.

2/ @CharlieMQV

Yeah I plan on parsing the USN journal to keep things updated, and I also want to try other tricks like dumping everything to disk on exit and then catching up on next startup by going through the USN journal. That way I can avoid reindexing on each startup. It of course depends on how old the cached database is and how far back the USN journal goes.