Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/remix-run/react-router
/ fileExists
Function
fileExists
scripts/utils/fs.ts:3–5 ·
view source on GitHub ↗
(filename: string)
Source
from the content-addressed store, hash-verified
1
import
* as fs from
"node:fs"
;
2
3
export
function
fileExists(filename: string): boolean {
4
return
fs.existsSync(filename);
5
}
6
7
export
function
readFile(
8
filename: string,
Callers
2
parseChangelog
Function · 0.90
getUnpublishedPackages
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected