Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/effect-app/libs
/ copyFile
Function
copyFile
repos/effect/packages/effect/src/FileSystem.ts:917–919 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
915
writeFileString(path) {
916
return
Effect.fail(notFound(
"writeFileString"
, path))
917
},
918
...fileSystem
919
})
920
921
/**
922
* Creates a Layer that provides a no-op FileSystem implementation
for
testing.
Callers
1
withStaticFiles
Function · 0.50
Calls
2
notFound
Function · 0.85
fail
Method · 0.45
Tested by
1
withStaticFiles
Function · 0.40
Used in the wild
real call sites across dependent graphs
searching dependent graphs…