MCPcopy Create free account
hub / github.com/cloudflare/computer / isDevDir

Function isDevDir

packages/computer/src/backends/worker-shell/adapter.ts:284–286  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

282}
283
284function isDevDir(path: string): boolean {
285 return normalizePath(path) === "/dev";
286}
287
288function isDevNull(path: string): boolean {
289 return normalizePath(path) === "/dev/null";

Callers 5

readdirMethod · 0.85
readdirWithFileTypesMethod · 0.85
mkdirMethod · 0.85
isVirtualDevPathFunction · 0.85
virtualDevStatFunction · 0.85

Calls 1

normalizePathFunction · 0.70

Tested by

no test coverage detected