Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bearlyai/OpenADE
/ getLegacyNestedDocPath
Function
getLegacyNestedDocPath
projects/electron/src/modules/code/yjsStorage.ts:75–77 ·
view source on GitHub ↗
(id: string)
Source
from the content-addressed store, hash-verified
73
}
74
75
function
getLegacyNestedDocPath(id: string): string {
76
return
path.join(getLegacyNestedYjsStorageDir(), sanitizeId(id))
77
}
78
79
/**
80
* Ensure the storage directory exists.
Callers
1
handleLoad
Function · 0.85
Calls
2
getLegacyNestedYjsStorageDir
Function · 0.85
sanitizeId
Function · 0.70
Tested by
no test coverage detected