libcosmic-yoda/cosmic-config
8roken 52b802a11a fix(cosmic-config): Avoid dual notifications in transaction commits
When a transaction gets committed, the files gets written to a file in
the .atomicwrite[0-9a-Z] folder and then gets moved to their final
location. The watcher will emit two events:

- Modify(Name(To))
- Modify(Name(Both)

The last one will include both the source and the destination and is
essentially a duplicate of the first event. By discarding this event,
behavior seems to be the same, and all consumers of those events get
only notified once instead of twice when a configuration changes.
2025-06-27 19:57:35 +00:00
..
src fix(cosmic-config): Avoid dual notifications in transaction commits 2025-06-27 19:57:35 +00:00
Cargo.toml Fix config watching 2025-06-23 11:20:48 -06:00