fn paste_entries_from_paths(
pack: &Pack,
paths: &[ContainerPath],
pack_key: &str,
) -> Vec<PasteEntry>Expand description
Expands the selected paths of a pack into entries to paste, one per file.
- For a selected file
a/b/c, the base path isa/b(parent folder), so pasting gives justc. - For a selected folder
a/b, the base path isa(parent of folder), so pasting preservesb/....