Commit 620442d
committed
Document DurableObjectRawFileSystem and snapshot helper
Update package docs to reflect a third concrete filesystem implementation: DurableObjectRawFileSystem — a thin DO KV-backed filesystem that commits every write synchronously for per-write durability. Add documentation for createFileSystemSnapshot which builds an InMemoryFileSystem from sync or async iterables of [path, content], enabling bridging async storage backends to the synchronous FileSystem interface. Also clarify an internal comment in file-system.ts to state the write-overlay is not re-exported from the package entry point.1 parent 70da49d commit 620442d
File tree
2 files changed
+12
-3
lines changed- .changeset
- packages/worker-bundler/src
2 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments