Skip to main content

worktree_path

Function worktree_path 

Source
pub fn worktree_path(root: &Path, path: &[u8]) -> PathBuf
Expand description

The filesystem path of a repository path given as raw bytes.

In TS you’d write (pseudocode):

join(root, bytesToPath(path))