Releases: RxSwiftCommunity/RxFileMonitor
Releases · RxSwiftCommunity/RxFileMonitor
Swift Package Manager Support
Xcode 11 / Swift 5.1
No code changes, only metadata and Carthage pre-compiled download.
Latency & Hashable Changes
Latency can help reduce noise of file events. Changes performed by TextEdit with a latency of 0
look like this:
texteditfile.txt changed (isFile, renamed, finderInfoModified, xattrsModified)
texteditfile.txt.sb-56afa5c6-DmdqsL changed (isFile, renamed)
texteditfile.txt changed (isFile, renamed, finderInfoModified, xattrsModified)
texteditfile.txt changed (isFile, renamed, finderInfoModified, inodeMetaModified, xattrsModified)
texteditfile.txt.sb-56afa5c6-DmdqsL changed (isFile, modified, removed, renamed, changeOwner)
texteditfile.txt changed (isFile, renamed, finderInfoModified, inodeMetaModified, xattrsModified)
While an increased latency coalesces (combines) events that produce:
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)
(Note that they are reported as event pairs, which can be interpreted by the library if necessary, but currently isn't.)
Initial Release
This version is fully functional.
RxSwiftCommunity Release
This version is ported to RxSwiftCommunity. It includes legacy FileMonitor
which is based on GCD file and folder events that got removed in v1.0.0.