Skip to content

v2.0.0

Compare
Choose a tag to compare
@PHLAK PHLAK released this 07 May 22:20
· 52 commits to master since this release
95c93ae

Added

  • Added Glob::in() method for retrieving a list of files in a directory matching a pattern
  • Added Glob::filter() and Glob::rejecet() methods for filtering arrays of strings by a glob pattern
  • Added Glob::escape() method for escaping glob pattern characters in a string
  • Added Glob::directorySeparator() method for overriding the directory separator

Changed

  • Use the OS configured directory separator for matching * and **
    • Forward slash (/) on Mac/Linux
    • Back slash (\) on Windows

Detailed changelog: 1.0.0...2.0.0