pub fn extract_file_metrics(
identifier: impl Into<String>,
source: &str,
) -> Result<FileMetricsInfo, MetricsExtractionError>Expand description
Extracts count and type information from one Rust source string.
The identifier is retained as supplied and should normally be a normalized workspace-relative source path.