Skip to main content

uninitialized

Function uninitialized 

Source
pub fn uninitialized(
    git: &dyn GitCli,
    worktree_dir: &Path,
) -> Result<Vec<String>>
Expand description

Returns the paths of submodules that are defined but not yet initialized in worktree_dir (the - marker of git submodule status). Best-effort: a repo with no submodules, or a directory where the command cannot run, yields an empty list rather than an error, so callers can treat “no submodules” and “could not tell” alike.