Function files_from_git_branch

Source
pub fn files_from_git_branch(
    value: &str,
    extension: Option<&str>,
) -> Vec<PathBuf>
Expand description

Returns a vector of PathBuf containing all files changed in the given Git branch relative to the default branch.

ยงArguments

  • value - A string slice representing the name of the Git branch to check.
  • extension - An Option containing a string slice representing the file extension to filter results by.