Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
284
function
isDevDir(path: string): boolean {
285
return
normalizePath(path) ===
"/dev"
;
286
}
287
288
function
isDevNull(path: string): boolean {
289
return
normalizePath(path) ===
"/dev/null"
;
Callers
5
readdir
Method · 0.85
readdirWithFileTypes
Method · 0.85
mkdir
Method · 0.85
isVirtualDevPath
Function · 0.85
virtualDevStat
Function · 0.85
Calls
1
normalizePath
Function · 0.70
Tested by
no test coverage detected