Skip to content

v3.0.0

Compare
Choose a tag to compare
@nvzqz nvzqz released this 20 Jul 23:15
· 62 commits to develop since this release

Release Notes

This release is mainly to make all current features available.

New Features

  • File system watching
  • Added workingDirectory to Process
  • Added createFile(_:) create(_:) methods to Path and File
  • Added reading and writing for File with NSData type
  • Added grep operations for TextFile
  • Added init(groupIdentifier:) to Path
  • Added additional static paths
  • Added / operator for appending paths
  • Hard linking files

Changes

  • Renamed AllArray and AllNames in FileSystemEventFlags to allFlags and allFlagNames.
  • Changed returned description and debug description strings for FileSystemEventFlags
    • Now contains the name of the type
  • FileSystemEventStream is now private
  • Removed global NSFileManager for Path
    • Each Path instance now has a fileManagerDelegate
  • Expanded name abbreviations
    • "CGD" -> "Dispatch"

Fixes

  • readFromPath for NSData now actually returns the contents
  • Fixed commonAncestor(_:) method for Path