From c9e274dc6e8cc619d1b36d57a69299aee6a45a91 Mon Sep 17 00:00:00 2001 From: Nikhil Reddy Avuthu <57902888+Nikhil1920@users.noreply.github.com> Date: Sun, 6 Feb 2022 22:17:28 +0530 Subject: [PATCH] Remove duplicate link to create_file --- docs/archlinux.md | 2 +- docs/filesystem.md | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/archlinux.md b/docs/archlinux.md index f5de2995..a50c4217 100644 --- a/docs/archlinux.md +++ b/docs/archlinux.md @@ -439,7 +439,7 @@ Now that the webserver is running, point your browser to `http://localhost:8000/ ```sh initial_state: { - "url": ""http://localhost:8000/images/v86state.bin, + "url": "http://localhost:8000/images/v86state.bin", }, ``` diff --git a/docs/filesystem.md b/docs/filesystem.md index 95781ae2..caf63622 100644 --- a/docs/filesystem.md +++ b/docs/filesystem.md @@ -1,9 +1,8 @@ A 9p filesystem is supported by the emulator, using a virtio transport. Using it, files can be exchanged with the guest OS, see -[`create_file`](api.md#create_filestring-file-uint8array-data-functionobject-callback) -[`create_file`](api.md#create_filestring-file-uint8array-data-functionobject-callback) +[`create_file`](/src/browser/starter.js#L1179-L1199) and -[`read_file`](api.md#read_filestring-file-functionobject-uint8array-callback). It can +[`read_file`](/src/browser/starter.js#L1209-L1228). It can be enabled by passing the following options to `V86Starter`: ```javascript