pub fn primary_output_path(
entry: &FileEntry,
dest_dir: &Path,
out_name: &str,
mode: ResourceForkMode,
) -> PathBufExpand description
The host path export_file_with_fork writes entry’s data to under
mode, so a caller can see a collision before anything is overwritten.