Skip to main content

detect_version_file

Function detect_version_file 

Source
pub fn detect_version_file(project_root: &Path) -> Option<PathBuf>
Expand description

Detect the project’s version file, checking Cargo.toml, then pyproject.toml, then package.json. Returns the first that exists.