Skip to main content

fmt

Function fmt 

Source
pub fn fmt(
    repo: Option<Repository>,
    in_file: Option<PathBuf>,
    out_file: Option<PathBuf>,
    in_place: bool,
    out: impl Write,
) -> Result<()>
Expand description

Format the git configuration file at in_file, or the repository-local configuration if in_file is None, writing the result back in place, to out_file, or to out (stdout) respectively.