export type ClipboardWriter = (text: string) => Promise; /** Copy the exact Torrent-relative path without normalizing or truncating it. */ export const copyTorrentFilePath = async ( path: string, writeText: ClipboardWriter, ): Promise => { await writeText(path); };