Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ getPathForFile
Function
getPathForFile
packages/desktop/src/renderer/index.tsx:199–201 ·
view source on GitHub ↗
(file)
Source
from the content-addressed store, hash-verified
197
},
198
199
getPathForFile(file) {
200
return attachmentPaths.get(file) ?? window.api.getPathForFile(file)
201
},
202
203
async saveFilePickerDialog(opts) {
204
return window.api.saveFilePicker({
Callers
nothing calls this directly
Calls
1
get
Method · 0.65
Tested by
no test coverage detected