Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/freecodexyz/free-code
/ isFileOpen
Function
isFileOpen
src/services/lsp/LSPServerManager.ts:402–405 ·
view source on GitHub ↗
(filePath: string)
Source
from the content-addressed store, hash-verified
400
}
401
402
function
isFileOpen(filePath: string): boolean {
403
const
fileUri = pathToFileURL(path.resolve(filePath)).href
404
return
openedFiles.has(fileUri)
405
}
406
407
return
{
408
initialize,
Callers
nothing calls this directly
Calls
2
resolve
Method · 0.80
has
Method · 0.45
Tested by
no test coverage detected