pub fn create_selected_entry(
stage_root: &Path,
destination_root: &Path,
entry: &WorktreeCopyEntry,
) -> Result<(), WorktreeCopyError>Expand description
What: Creates one absent selected entry from the private stage, as its kind requires. Why: Directories are created private and changed later; links are recreated with their exact target text.
In TS you’d write (pseudocode):
async function createSelectedEntry({ snapshot, destinationRoot, entry }): Promise<void>;