Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProNextJS/declarative-routing
/ hasConfig
Function
hasConfig
src/config.ts:35–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
export
function
hasConfig() {
36
return
fs.existsSync(path.resolve(`./${CONFIG}`));
37
}
38
39
export
function
writeConfig(config: Config) {
40
const
cfg = ConfigSchema.safeParse(config);
Callers
2
init.ts
File · 0.90
build.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected