mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 22:22:22 +00:00
I think this enhances readability significantly, reduces code duplication and allows you to follow the rationale behind why monitors are being added/removed a lot more clearly than the previous nested/ad-hoc logic in file_changed. Also adds debug printouts in the case that file monitors are not created successfully. Closes: #1194 Approved by: pwithnall