Skip to main contentCrate rustfmt_format_diff
Source pub(crate) use Deserialize; ๐ pub(crate) use Deserialize; ๐ pub(crate) use Serialize; ๐ pub(crate) use Serialize; ๐ pub(crate) use serde_json as json; ๐ pub(crate) use thiserror::Error; ๐ pub(crate) use tracing::debug; ๐ pub(crate) use tracing_subscriber::EnvFilter; ๐ pub(crate) use std::collections::HashSet; ๐ pub(crate) use std::env; ๐ pub(crate) use std::env; ๐ pub(crate) use std::ffi::OsStr; ๐ pub(crate) use io; ๐ pub(crate) use BufRead; ๐ pub(crate) use std::process; ๐ pub(crate) use regex::Regex; ๐ pub(crate) use CommandFactory; ๐ pub(crate) use Parser; ๐
- Opts
- Range ๐
- FormatDiffError ๐
- DEFAULT_PATTERN ๐
- The default pattern of files to format.
- main ๐
- run ๐
- run_rustfmt ๐
- scan_diff ๐
- Scans a diff from
from, and returns the set of files found, and the ranges
in those files.