zrneely / koakuma

Finds big files and folders (Windows only)
MIT License
5 stars 2 forks source link

Suggestion: Making it available as a library crate #2

Open Boscop opened 4 years ago

Boscop commented 4 years ago

It would be nice if this was also available as a lib crate, so that other tools can be built on top of it, by people who aren't intimately familiar with the winapi. E.g. a backup-syncing tool could be built on top of this, if the lib had a function that takes a path and returns the list of files in that path (and its subfolders) together with the info from the MFT, such as file size, created time, modified time, access time. This would allow for much faster backup-diffing than FreeFileSync does.

zrneely commented 4 years ago

There is an existing crate, mft that could theoretically provide 95% of what you're looking for in the mean time.