Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redwoodjs/graphql
/ serverFileExists
Function
serverFileExists
packages/cli/src/lib/project.js:28–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
export
const
serverFileExists = () => {
29
const
serverFilePath = path.join(
30
getPaths().api.src,
31
`server.${isTypeScriptProject() ?
'ts'
:
'js'
}`,
32
)
33
34
return
fs.existsSync(serverFilePath)
35
}
Callers
5
builder
Function · 0.90
handler
Function · 0.90
getCoherenceConfigFileContent
Function · 0.90
handler
Function · 0.90
isServerFileSetup
Function · 0.90
Calls
3
isTypeScriptProject
Function · 0.70
existsSync
Method · 0.65
getPaths
Function · 0.50
Tested by
no test coverage detected