MCPcopy Index your code
hub / github.com/codedogQBY/ReadAny / isDirectFileTransferUnsupported

Function isDirectFileTransferUnsupported

packages/core/src/sync/sync-files.ts:71–74  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

69}
70
71function isDirectFileTransferUnsupported(error: unknown): boolean {
72 const message = error instanceof Error ? error.message : String(error);
73 return /does not support direct file|Platform does not support direct file/i.test(message);
74}
75
76async function makeTempTransferPath(finalPath: string): Promise<string> {
77 const adapter = getSyncAdapter();

Callers 2

uploadFileToRemoteFunction · 0.85
downloadRemoteFileToPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected