Skip to content

Refactoring of storage + rename detection#3

Open
alansingfield wants to merge 26 commits intoMisinformedDNA:masterfrom
alansingfield:features/new-storage
Open

Refactoring of storage + rename detection#3
alansingfield wants to merge 26 commits intoMisinformedDNA:masterfrom
alansingfield:features/new-storage

Conversation

@alansingfield
Copy link

THIS WORK IS NOT FINISHED!!!

Added Rename detection - this works by matching on lastmodified date/time and length. If it sees a delete and a create together which are either (same directory, different name) or (same name, different directory) - it discards the delete and create, putting a Rename in place.

Work on memory usage. There were a lot of strings being allocated for the filenames and directory names, meaning high memory usage when monitoring large folders.

Implemented a Parent Pointer Tree to store each directory name only once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant