FLUTTER ECOSYSTEM

glob

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

Latest version
2.1.3
30-day downloads
6.2M
Likes
102
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The glob package provides Bash-style file and directory pattern matching for Dart applications. It enables users to search for files and directories using wildcards like * and ?, supporting recursive searches and flexible path filtering. Ideal for build scripts, file processing tools, and development utilities that need to locate files based on patterns. The package is lightweight and compatible across all major platforms, including mobile and desktop environments.

Use cases
  • File discovery in build systems
  • Recursive directory scanning
  • Pattern-based file filtering
  • Automated testing setup
  • Code generation workflows
Key features
  • Bash-style wildcard support
  • Recursive directory matching
  • Cross-platform compatibility
  • Simple API for pattern matching
  • Supports both files and directories
Suitable for
  • Build and CI/CD tools
  • Development automation scripts
  • File system explorers
  • Code analysis utilities
  • Project scaffolding
Considerations
  • May be slower with very large directory trees
  • Does not support advanced regex patterns
  • Limited to file system operations
  • No built-in error handling for invalid paths
  • Requires explicit path resolution
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add glob

Categories

Source repository

Related projects

Rankings