mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-20 08:02:16 +00:00
de41dd55d6
- reuse validated tracker-bearing metainfo without restoring direct web seeds - preserve Torrent file selection while making long paths scrollable and copyable - add lifecycle-fenced peer and seeder summaries to Properties telemetry - validate cache tracker metadata and cover malformed, stale, and path-copy cases
10 lines
285 B
TypeScript
10 lines
285 B
TypeScript
export type ClipboardWriter = (text: string) => Promise<void>;
|
|
|
|
/** Copy the exact Torrent-relative path without normalizing or truncating it. */
|
|
export const copyTorrentFilePath = async (
|
|
path: string,
|
|
writeText: ClipboardWriter,
|
|
): Promise<void> => {
|
|
await writeText(path);
|
|
};
|