Skip to content

chore: Export the base filesystem to enable creating custom file systems#493

Merged
samwillis merged 2 commits intomainfrom
samwillis/export-base-fs
Jan 14, 2025
Merged

chore: Export the base filesystem to enable creating custom file systems#493
samwillis merged 2 commits intomainfrom
samwillis/export-base-fs

Conversation

@samwillis
Copy link
Collaborator

@samwillis samwillis commented Jan 13, 2025

This exports the base filesystem implementation so that it can be used to create custom filesystems.

See the OPFS-AHP (https://github.com/electric-sql/pglite/blob/main/packages/pglite/src/fs/opfs-ahp.ts) for an example of how to use this.

NOTE: This is a work in progress API, it is not stable, and change significantly in future!

Fixes: #481

@github-actions
Copy link
Contributor

@samwillis samwillis merged commit 17e7664 into main Jan 14, 2025
7 checks passed
@samwillis samwillis deleted the samwillis/export-base-fs branch January 14, 2025 09:13
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.

Not possible to implement custom FS due to lack of public FS API

2 participants