MCPcopy Index your code
hub / github.com/remix-run/react-router / isFile

Function isFile

packages/create-react-router/__tests__/github-mocks.ts:19–25  ·  view source on GitHub ↗
(d: string)

Source from the content-addressed store, hash-verified

17 }
18}
19async function isFile(d: string) {
20 try {
21 return (await fsp.lstat(d)).isFile();
22 } catch {
23 return false;
24 }
25}
26
27type GHContentsDescription = {
28 name: string;

Callers 1

github-mocks.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…