Skip to main content

resolve_head_split

Function resolve_head_split 

Source
pub fn resolve_head_split(
    head_dir: &Utf8Path,
    refs_dir: &Utf8Path,
) -> Result<Option<CommitCid>>
Expand description

Resolve HEAD to a CID with split directories for workspaces.

head_dir is where HEAD lives (per-workspace state directory). refs_dir is where branch refs live (shared .void directory). For the main workspace, both are the same.