Skip to content
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

Implement separately events of contents updating and attributes changing #110

Closed
atercattus opened this issue May 21, 2012 · 1 comment
Closed
Labels

Comments

@atercattus
Copy link

For example in Inotify.queue_events():
elif event.is_attrib:
klass = ACTION_EVENT_MAP[(event.is_directory,
EVENT_TYPE_MODIFIED)]
self.queue_event(klass(event.src_path))

In tasks of files synchronization it is necessary to check the file's size and hash when attributes were simply changed.

Can add new ACTION_EVENT_MAP items like as "(True, EVENT_TYPE_ATTRS) : AttrModifiedEvent" or FileSystemEvent.is_attr_changed property?

I apologize for my bad English.

@BoboTiG
Copy link
Collaborator

BoboTiG commented Jan 4, 2023

Let's move the discussion to #260.

@BoboTiG BoboTiG closed this as completed Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants