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

Function getLanDeviceSnapshotPath

packages/core/src/sync/lan-server.ts:22–24  ·  view source on GitHub ↗
(deviceId: string)

Source from the content-addressed store, hash-verified

20const LAN_SYNC_DIR = "/readany/sync";
21
22function getLanDeviceSnapshotPath(deviceId: string): string {
23 return `${LAN_SYNC_DIR}/device-${deviceId}.json`;
24}
25
26/**
27 * Local filesystem backend for the LAN server.

Callers 3

getMethod · 0.85
listDirMethod · 0.85
existsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected