MCPcopy
hub / github.com/codedogQBY/ReadAny / deviceSyncPath

Function deviceSyncPath

packages/core/src/sync/simple-sync.ts:69–71  ·  view source on GitHub ↗

Build the remote path for a device's changeset file

(deviceId: string)

Source from the content-addressed store, hash-verified

67
68/** Build the remote path for a device's changeset file */
69function deviceSyncPath(deviceId: string): string {
70 return `${SYNC_DIR}/device-${deviceId}.json`;
71}
72
73interface DeviceSyncIndex {
74 version: 1;

Callers 2

saveDeviceSnapshotFunction · 0.85
runSimpleSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected