Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/labring/FastGPT
/ fileExists
Function
fileExists
document/script/checkDocRefs.js:53–59 ·
view source on GitHub ↗
(p)
Source
from the content-addressed store, hash-verified
51
}
52
53
function
fileExists(p) {
54
try {
55
return
fs.statSync(p).isFile();
56
} catch {
57
return
false;
58
}
59
}
60
61
function
routeExists(basePath) {
62
const
candidates = [
Callers
3
isValidRef
Function · 0.85
dirHasMeta
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected