Skip to main content

resolve_drag_path

Function resolve_drag_path 

Source
fn resolve_drag_path(
    model: &LibraryAssetModel,
    pos: u32,
    ctx: &AppContext,
) -> Option<PathBuf>
Expand description

Resolve the drag-export path for the asset at pos.

Priority: local path > drag export cache (with original filename) > lightbox preview cache (hardlinked to proper name) > on-demand download.