Skip to content

Releases: RxSwiftCommunity/RxFileMonitor

Swift Package Manager Support

20 Feb 08:23
89072eb
Compare
Choose a tag to compare
  • Added Package.swift file to support Swift Package Manager

Xcode 11 / Swift 5.1

11 Oct 15:01
Compare
Choose a tag to compare

No code changes, only metadata and Carthage pre-compiled download.

Latency & Hashable Changes

26 Apr 06:36
Compare
Choose a tag to compare

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

13 Dec 16:45
Compare
Choose a tag to compare

This version is fully functional.

RxSwiftCommunity Release

13 Dec 16:46
Compare
Choose a tag to compare
Pre-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.