Skip to main content

drag_export_path

Function drag_export_path 

Source
fn drag_export_path(
    asset_id: &str,
    filename: &str,
    source: &Path,
) -> Option<PathBuf>
Expand description

Create a properly-named export copy of a cached file for drag-out.

Returns Some(path) with the original filename visible to file managers. Falls back to source if the export directory isn’t available.