globbing 0.2.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 47

globbing #

Globbing is a library for pattern matching based on wildcard characters.

Real examples of practical usage of globbing package can be found in file_utils package.

0.2.0 #

  • Adaptation to Dart 2.0

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  globbing: ^0.2.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:globbing/globbing.dart';
  
Version Uploaded Documentation Archive
0.2.0 Aug 13, 2018 Go to the documentation of globbing 0.2.0 Download globbing 0.2.0 archive
0.1.20 Sep 11, 2014 Go to the documentation of globbing 0.1.20 Download globbing 0.1.20 archive
0.1.19 Jul 30, 2014 Go to the documentation of globbing 0.1.19 Download globbing 0.1.19 archive
0.1.18 May 27, 2014 Go to the documentation of globbing 0.1.18 Download globbing 0.1.18 archive
0.1.17 May 8, 2014 Go to the documentation of globbing 0.1.17 Download globbing 0.1.17 archive
0.1.16 May 8, 2014 Go to the documentation of globbing 0.1.16 Download globbing 0.1.16 archive
0.1.15 May 7, 2014 Go to the documentation of globbing 0.1.15 Download globbing 0.1.15 archive
0.1.14 May 7, 2014 Go to the documentation of globbing 0.1.14 Download globbing 0.1.14 archive
0.1.12 May 6, 2014 Go to the documentation of globbing 0.1.12 Download globbing 0.1.12 archive
0.1.11 May 5, 2014 Go to the documentation of globbing 0.1.11 Download globbing 0.1.11 archive

All 27 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
26
Health:
Code health derived from static analysis. [more]
55
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
47
Learn more about scoring.

We analyzed this package on May 20, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.0
  • pana: 0.12.15

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:globbing/globbing.dart.

Health issues and suggestions

Fix lib/src/glob_parser.dart. (-36.43 points)

Analysis of lib/src/glob_parser.dart failed with 1 error, 33 hints, including:

line 276 col 3: 'GlobNodeSegments._nodes=' ('(List<GlobNodeSegment>) → void') isn't a valid override of 'GlobNodeCollection._nodes=' ('(List<GlobNode>) → void').

line 4 col 3: Prefer using /// for doc comments.

line 9 col 3: Prefer using /// for doc comments.

line 24 col 3: Prefer using /// for doc comments.

line 29 col 3: Prefer using /// for doc comments.

Fix lib/src/globbing.dart. (-9.08 points)

Analysis of lib/src/globbing.dart reported 19 hints, including:

line 4 col 3: Prefer using /// for doc comments.

line 9 col 3: Prefer using /// for doc comments.

line 22 col 3: Prefer using /// for doc comments.

line 31 col 41: Use = to separate a named parameter from its default value.

line 43 col 3: Prefer using /// for doc comments.

Fix lib/src/glob_filter.dart. (-2.48 points)

Analysis of lib/src/glob_filter.dart reported 5 hints:

line 4 col 3: Prefer using /// for doc comments.

line 17 col 3: Prefer using /// for doc comments.

line 57 col 9: Use isNotEmpty for Iterables and Maps.

line 62 col 3: Prefer using /// for doc comments.

line 108 col 3: Prefer using /// for doc comments.

Fix lib/src/glob_lister.dart. (-2.48 points)

Analysis of lib/src/glob_lister.dart reported 5 hints:

line 4 col 3: Prefer using /// for doc comments.

line 35 col 3: Prefer using /// for doc comments.

line 57 col 23: Use = to separate a named parameter from its default value.

line 101 col 9: Use isNotEmpty for Iterables and Maps.

line 108 col 3: Prefer using /// for doc comments.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and globbing.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
path ^1.6.2 1.6.2
Dev dependencies
test any