MCPcopy Create free account
hub / github.com/Effect-TS/effect / rename

Function rename

packages/effect/src/FileSystem.ts:888–890  ·  view source on GitHub ↗
(oldPath)

Source from the content-addressed store, hash-verified

886 return Effect.void
887 },
888 rename(oldPath) {
889 return Effect.fail(notFound("rename", oldPath))
890 },
891 sink(path) {
892 return Sink.fail(notFound("sink", path))
893 },

Callers

nothing calls this directly

Calls 2

notFoundFunction · 0.70
failMethod · 0.45

Tested by

no test coverage detected