glob 2.1.2 copy "glob: ^2.1.2" to clipboard
glob: ^2.1.2 copied to clipboard

A library to perform Bash-style file and directory globbing.

2.1.2 #

  • Allow file version 7.x.
  • Require Dart 2.19.

2.1.1 #

  • Updated the dependency on package:file to require at least 6.1.3.

2.1.0 #

  • Return empty results instead of throwing when trying to list a path that does not exist.

2.0.2 #

  • Drop package:pedantic dependency, use package:lints instead.
  • Update SDK lower bound to 2.15.0

2.0.1 #

  • Update example in README for new import.

2.0.0 #

  • Stable null safety release.

Breaking Change #

The list* apis on Glob have been renamed to listFileSystem* and they now require a FileSystem object from package:file.

There is a new convenience import, package:glob/list_local_fs.dart which provides the old methods as extensions, and automatically passes a LocalFileSystem.

1.2.1 #

  • Add an empty list_local_fs.dart to ease upgrade from 1x to 2x

1.2.0 #

  • Support running on Node.js.

1.1.7 #

  • Set max SDK version to <3.0.0, and adjust other dependencies.

1.1.6 #

  • Improve support for Dart 2 runtime semantics.

1.1.5 #

  • Declare support for async 2.0.0.

  • Require Dart 1.23.0.

1.1.4 #

  • Throw an exception when listing globs whose initial paths don't exist in case-insensitive mode. This matches the case-sensitive behavior.

1.1.3 #

  • Support string_scanner 1.0.0.

1.1.2 #

  • Fix all strong mode errors and warnings.

1.1.1 #

  • Fix a bug where listing an absolute glob with caseInsensitive: false failed.

1.1.0 #

  • Add a caseSensitive named parameter to new Glob() that controls whether the glob is case-sensitive. This defaults to false on Windows and true elsewhere.

    Matching case-insensitively on Windows is a behavioral change, but since it more closely matches the semantics of Windows paths it's considered a bug fix rather than a breaking change.

1.0.5 #

  • Narrow the dependency on path. Previously, this allowed versions that didn't support all the functionality this package needs.

  • Upgrade to the new test runner.

1.0.4 #

  • Added overlooked collection dependency.

1.0.3 #

  • Fix a bug where Glob.list() and Glob.listSync() would incorrectly throw exceptions when a directory didn't exist on the filesystem.

1.0.2 #

  • Fixed Glob.list() on Windows.

1.0.1 #

  • Fix several analyzer warnings.

  • Fix the tests on Windows.

70
likes
150
pub points
99%
popularity

Publisher

verified publishertools.dart.dev

A library to perform Bash-style file and directory globbing.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

async, collection, file, path, string_scanner

More

Packages that depend on glob