pub fn format_workspace_text_files(
root: &Path,
check: bool,
) -> Result<UnifiedFmtReport, Error>Expand description
Recursively discovers and formats all supported non-Rust text files under root (or a single file).
Uses a work-stealing thread pool when scanning multiple files while preserving deterministic sorted output order.
§Arguments
&Path- Root workspace directory or individual file path.bool- Whentrue, verifies formatting without modifying disk and returns an error if changes are needed.
§Returns
Result<UnifiedFmtReport, io::Error>- Structured report of scanned and formatted files.