pub fn ecosystem_from_path(path: &str) -> Option<&'static str>Expand description
The wire ecosystem string for a manifest/lockfile path, or None when the
filename is not a recognised manifest (the caller then asks the user to pass
--ecosystem explicitly). Matches the ecosystem names the App’s
GET /health advertises (npm / pypi / crates / go / maven / packagist /
rubygems / nuget / pub).
The path may be a full path or a bare filename; only the last path
component (after / or \) is inspected.