globbing 0.2.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 49

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 packages get

Alternatively, your editor might support pub get or flutter packages 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]
21
Health:
Code health derived from static analysis. [more]
74
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
49
Learn more about scoring.

We analyzed this package on Aug 13, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: Flutter, web, other

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

Issues and suggestions

Fix lib/src/glob_parser.dart.

Analysis of lib/src/glob_parser.dart failed with 1 error, 1 hint:

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

line 619 col 9: The value of the local variable 'position' isn't used.

Package is pre-v1 release.

While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction of the API.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use globbing.dart.

Fix lib/src/globbing.dart.

Analysis of lib/src/globbing.dart reported 1 hint:

line 573 col 10: The method '_lookup' isn't used.

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