Skip to main content

primary_output_path

Function primary_output_path 

Source
pub fn primary_output_path(
    entry: &FileEntry,
    dest_dir: &Path,
    out_name: &str,
    mode: ResourceForkMode,
) -> PathBuf
Expand 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.