pub fn write_pointer_file(tree_root: &Path, state_dir: &Path) -> Result<()>Expand description
Write the linked-tree pointer file: <tree>/.mkit containing
mkitdir: <state_dir>\n. Used by worktree add (#493 Phase 2);
public now so the format has exactly one writer and one reader.
ยงErrors
Propagates filesystem errors from the atomic write.