MCPcopy
hub / github.com/vercel-labs/just-bash / encoding.fs-fallback.test.ts

File encoding.fs-fallback.test.ts

packages/just-bash/src/encoding.fs-fallback.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * `readFileBytes` is optional on `IFileSystem` — external implementations
3 * predating this method must keep working. The `readBytesFrom` helper
4 * detects the gap and falls back to `readFileBuffer` + manual conversion.

Callers

nothing calls this directly

Calls 5

createLegacyFsFunction · 0.85
bytesFromUint8ArrayFunction · 0.85
readFileBufferMethod · 0.65
resolvePathMethod · 0.65
execMethod · 0.65

Tested by

no test coverage detected