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

Method sync

packages/platform/node-shared/src/NodeFileSystem.ts:358–360  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

356 }
357
358 get sync() {
359 return nodeSync(this.fd)
360 }
361
362 // Runs one read or write at the cursor, then advances it. If the descriptor
363 // rejects positioned I/O with ESPIPE (pipes, sockets, terminals), retry

Callers 15

duplexSocketClientFunction · 0.45
NodeSink.test.tsFile · 0.45
entriesFunction · 0.45
NodeStream.test.tsFile · 0.45
liveSleepFunction · 0.45
killDescendantFunction · 0.45
setIsTTYFunction · 0.45
withRestoredIsTTYFunction · 0.45
NodeStdio.test.tsFile · 0.45
resizeFunction · 0.45
mockSizeFunction · 0.45

Calls

no outgoing calls

Tested by 15

entriesFunction · 0.36
liveSleepFunction · 0.36
killDescendantFunction · 0.36
setIsTTYFunction · 0.36
withRestoredIsTTYFunction · 0.36
resizeFunction · 0.36
mockSizeFunction · 0.36
assertOpenResultFunction · 0.36
runOpenSelectFunction · 0.36
connectFunction · 0.36
rawRequestFunction · 0.36
getStatusTextFunction · 0.36