-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
File modifications from TextEdit produce this log output:
texteditfile.txt changed (isFile, renamed, finderInfoModified, xattrsModified)
texteditfile.txt.sb-56afa5c6-SOiDRl changed (isFile, renamed)
texteditfile.txt changed (isFile, renamed, finderInfoModified, inodeMetaModified, xattrsModified)
texteditfile.txt.sb-56afa5c6-SOiDRl changed (isFile, modified, removed, renamed, changeOwner)
At the moment (1.0.2), each of these events is forwarded to the callback independently. But the originate in pairs. This extra information could be useful to interpret events in 2 ways:
- Either in the lib itself, reducing 2
renamed
events to a singlerenamed from ... to ...
- In the client, when we forward not single events but the original pairs, too
Both ways enable us to interpret
texteditfile.txt changed (isFile, renamed, finderInfoModified, xattrsModified)
texteditfile.txt.sb-56afa5c6-SOiDRl changed (isFile, renamed)
... as "texteditfile.txt is renamed to texteditfile.txt.sb-56afa5c6-SOiDRl".