Fix file browser absolute path copy (#860)

This commit is contained in:
Zhicheng Han
2026-05-20 10:36:49 +08:00
committed by GitHub
parent 7f6b691238
commit 5fc7dce9c8
8 changed files with 181 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
import type { FileEntry } from '@/api/hermes/files'
export function getClipboardPathForEntry(entry: FileEntry): string {
return entry.absolutePath || entry.path
}