Skip to main content

Crate perl_workspace_discovery

Crate perl_workspace_discovery 

Source
Expand description

Git-aware Perl workspace file discovery.

This crate finds Perl source files in a workspace root with a two-step strategy:

  1. Try git ls-files for fast, .gitignore-aware enumeration.
  2. Fall back to filesystem walking with WalkDir when git is unavailable.

The resulting behavior is intentionally conservative: common non-source directories are skipped in both modes (.git, .hg, .svn, target, node_modules, .cache).

Structs§

DiscoveryResult
File discovery result metadata.

Enums§

DiscoveryMethod
How files were discovered.

Functions§

discover_perl_files
Discover Perl source files under root.