We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7b8ae9 commit 741de38Copy full SHA for 741de38
sites/cheerpx/src/content/docs/12-reference/CheerpX.IDBDevice/reset.md
@@ -23,12 +23,12 @@ None.
23
24
Reset an `IDBDevice` instance before mounting it.
25
26
-```ts
+```ts {8}
27
// Create a read-only block device for a disk image stored on the HTTP server
28
const blockDevice = await CheerpX.HttpBytesDevice.create("/cheerpXImage.ext2");
29
30
// Make the block device read-write using a persistent IndexedDB overlay
31
-const idbDevice = await CheerpX.IDBDevice.create("block_bash");
+const idbDevice = await CheerpX.IDBDevice.create("block_idbDevice");
32
33
// Reset the IndexedDB storage
34
await idbDevice.reset();
0 commit comments