feat: paste images, videos, and text from clipboard

This commit is contained in:
Frederic Laing 2026-01-16 21:56:34 +01:00
parent 7de4ceac77
commit 08d442aee2
No known key found for this signature in database
GPG key ID: C126157F0CDCD306
4 changed files with 256 additions and 4 deletions

View file

@ -221,7 +221,7 @@ pub async fn sync_to_disk(
.await;
}
fn copy_unique_path(from: &Path, to: &Path) -> PathBuf {
pub fn copy_unique_path(from: &Path, to: &Path) -> PathBuf {
// List of compound extensions to check
const COMPOUND_EXTENSIONS: &[&str] = &[
".tar.gz",