-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service file for the filesystem monitor #28
base: master
Are you sure you want to change the base?
Conversation
b2848fa
to
53ec35d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the file in LSB format?
The fsmonitor file is one you are looking for. This script supports all necessary actions. See below: |
f8bc290
to
bba542f
Compare
1. Add test for copy(recursive) events 2. Add test for move events 3. We are hanlding only importnant events now 4. Replace move events with necessary ones 5. Reorginize tests for the monitor funtionality 6. Add necessary attributes to the Event class to match protobuf entity 7. Add new protobuf entities: is_dir, is_deleted 8. Generate new DTO for new entities
bba542f
to
b360768
Compare
@@ -16,6 +16,8 @@ import "onedrive_client/entities/onedrive.proto"; | |||
message LocalItemMetadata { | |||
uint64 size = 1; | |||
uint64 modified = 2; | |||
bool is_dir = 3; | |||
bool is_deleted = 4; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is_deleted
definitely must be in DirtyLocalItem
, because DirtyLocalItem
reflects a change event (which includes deletion).
Template of a service file in LSB format.