Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
20
const
LAN_SYNC_DIR =
"/readany/sync"
;
21
22
function
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
get
Method · 0.85
listDir
Method · 0.85
exists
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected