Summary: | KDirWatch - inotify - Any file operation is "dirty". | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Mark <markg85> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | adawit, faure |
Priority: | NOR | ||
Version: | 4.10.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mark
2013-02-18 20:00:57 UTC
That is by design. The KDirWatch documentation clearly states: * Watch directories and files for changes. * The watched directories or files don't have to exist yet. * * When a watched directory is changed, i.e. when files therein are * created or deleted, KDirWatch will emit the signal dirty(). * * When a watched, but previously not existing directory gets created, * KDirWatch will emit the signal created(). * * When a watched directory gets deleted, KDirWatch will emit the * signal deleted(). The directory is still watched for new * creation. * * When a watched file is changed, i.e. attributes changed or written * to, KDirWatch will emit the signal dirty(). So created and deleted are emitted for a particular directory you are watching iff the directory itself gets created and deleted. Otherwise, all you get is a dirty signal for anything that happens under that directory. |