Skip to content

feat: add custom vfs support#3

Draft
pi0 wants to merge 1 commit intomainfrom
feat/vfs
Draft

feat: add custom vfs support#3
pi0 wants to merge 1 commit intomainfrom
feat/vfs

Conversation

@pi0
Copy link
Copy Markdown
Member

@pi0 pi0 commented Apr 6, 2026

  • Add optional vfs option to ripgrep() that accepts a virtual filesystem interface (RipgrepVfs)
  • Missing VFS methods fall back to node:fs, so only the methods you need must be implemented
  • When vfs is provided, the custom WASI shim is always used (regardless of nodeWasi)

Accept an optional `vfs` option that provides a virtual filesystem
interface to the WASI shim. Missing methods fall back to `node:fs`.
When vfs is provided, the custom WASI shim is always used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant