Skip to main content

safe_status_porcelain

Function safe_status_porcelain 

Source
pub(crate) async fn safe_status_porcelain(
    dir: &str,
    extra: &[&str],
) -> Result<Vec<u8>, StatusError>
Expand description

git status --porcelain=v2 -z --branch --untracked-files=normal --ignore-submodules=all <extra> in dir, with the repository’s own filters blanked (see module docs). Shared by the Files pane and the agents’ work facts (backend::work_facts).