pub fn worktree_path(root: &Path, path: &[u8]) -> PathBuf
The filesystem path of a repository path given as raw bytes.
In TS you’d write (pseudocode):
join(root, bytesToPath(path))