diff --git a/assets/highlight.css b/assets/highlight.css index fb5f73e..3d4ee3c 100644 --- a/assets/highlight.css +++ b/assets/highlight.css @@ -1,22 +1,18 @@ :root { - --light-hl-0: #795E26; - --dark-hl-0: #DCDCAA; + --light-hl-0: #AF00DB; + --dark-hl-0: #C586C0; --light-hl-1: #000000; --dark-hl-1: #D4D4D4; - --light-hl-2: #A31515; - --dark-hl-2: #CE9178; - --light-hl-3: #AF00DB; - --dark-hl-3: #C586C0; - --light-hl-4: #001080; - --dark-hl-4: #9CDCFE; + --light-hl-2: #001080; + --dark-hl-2: #9CDCFE; + --light-hl-3: #A31515; + --dark-hl-3: #CE9178; + --light-hl-4: #795E26; + --dark-hl-4: #DCDCAA; --light-hl-5: #0000FF; --dark-hl-5: #569CD6; --light-hl-6: #0070C1; --dark-hl-6: #4FC1FF; - --light-hl-7: #0451A5; - --dark-hl-7: #9CDCFE; - --light-hl-8: #008000; - --dark-hl-8: #6A9955; --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } @@ -29,8 +25,6 @@ --hl-4: var(--light-hl-4); --hl-5: var(--light-hl-5); --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); --code-background: var(--light-code-background); } } @@ -42,8 +36,6 @@ --hl-4: var(--dark-hl-4); --hl-5: var(--dark-hl-5); --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); --code-background: var(--dark-code-background); } } @@ -55,8 +47,6 @@ --hl-4: var(--light-hl-4); --hl-5: var(--light-hl-5); --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); --code-background: var(--light-code-background); } @@ -68,8 +58,6 @@ --hl-4: var(--dark-hl-4); --hl-5: var(--dark-hl-5); --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); --code-background: var(--dark-code-background); } @@ -80,6 +68,4 @@ .hl-4 { color: var(--hl-4); } .hl-5 { color: var(--hl-5); } .hl-6 { color: var(--hl-6); } -.hl-7 { color: var(--hl-7); } -.hl-8 { color: var(--hl-8); } pre, code { background: var(--code-background); } diff --git a/assets/navigation.js b/assets/navigation.js index 827f0fd..eb6ac1f 100644 --- a/assets/navigation.js +++ b/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA6WUTWvCQBCG/8uc04rSSsmtpUh7ajGCB+kh7E7N4mZjd1awiP+9KG4+3O0YyDG8L0+e7MxmdQCHewcpvC0Wn3P82SE5SGCbuwJSKCu500ijVnhfuFJDAhtlJKQPCYhCaWnRQLqqYR9bpypDDUgZh/Y7F1esS6/LnDxOj1/HpIa9G4l7lK8vM6Ux+yWHZWgYKQ02jTF7GWeusvkaOd+gMtg2JPZyXVZ2g3aWhYo+GWxWg3oJNR/wLAQSnZ4brNA5EdIo1upyx5OnG9Tr2XDs2JC6b4heII9shXdjjsIuu6dFSj2ppyWJnGY350jMantYUOHdLvV/zNopRwnX2BN8wlu0BnQ+jFu/rnMpssh/R+WFBlEFAAA=" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA43RMQvCMBAF4P9yc1GsKNJNkYKTQ0dxiMlpD9O0NIdUxP8uQrGNTUPn9/LxkpxewNgwJJCSxuxpGYutlGhtmkEEleAcEpBaWIt2PuzMci40RHAnoyBZxJt3NC6SxgkmaQypB6OwQbXfZVzWHs/NQ9K3IG444vTTSXuOFVNpbCeRYayvQvZHtSUXjFfr4awQ51ZC2P/rdtxD1CQu2vMDrreMfZf1Ob8wALTLfcfbaHD4/AF+P5O+pAIAAA==" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index 445f528..cd1c44b 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7VcS5OcSA7+L/jK9JBPoG+zMzExc9mdWHt3Dx0OR3UVtgnXawvaHo/D/30jISkkkCChak9EN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peQbvU2js7ludiXxyJ6fHr7/fv/AAkWSdYVWgAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7WaTW/jNhCG/wtz1XrND3/eWhSL7qU9uOhFCBaKxCRCbNmQlGxTI/+9ICVZM/aMQ0XpKZtohu8Mn+GIFPcoyv3PSqzjo3jKi0yspVpGokh2VqzFt3xrN69VbXe/pKmtKve7iMRzuRVrkW6TqrLVV8po8ljvtiLqbMRaiLeoU5hJdVJI90VVl89pvS/DB77BXkAkEoektEXNxd4Hoaamz7N6LdLNa5EOCAG4fI7+QO1P0U23+2oA0JvO/pOUB0459PlQBFdLe/N+JJv/p6w3I4p6A9ObKnOK4MdjUmRbWwXLA4deu66yL3n15VDmL0ltgyNBqEubZK/BYXTWH8gfqe5snWRJnQQLA4ex2mHLefORxXxllv0/wqe5NR+r+7PMaxv2XmilocdY9bS0yUB55DKadJ3U4aQb47Ga+4MtBmUMHMZqPxfbvHgKVj6Zj9UdpPpJmuUuy8O7d2c9um89DVHtrMd3jyQblO3Jfqzyg61/9y+eYG3oQbyp9rVNa5sFR6MVuyc4hfSSlHlytyWCurojgPuN70Vm/7HZb79u6n15mSx+fHVUogGGDHdzMqWRnQU4fF9DagbsaVhhtJ/J7oIEvVlYVYTpVu7hH9SrlZKH1iOjUHMlTR8H+XanQrj6XufV8ObcJoF8W8sxanf2IS/+KpOiStI63xdBwoTT0Bhm88vF+efBDdYv/LyobXmfpDCK1ub6yr9eQu8Ny9QRmVcXMiOeJumj3eT/DhCHLuPE8+zuW+IW/2u4OvIZLA+6+cmKaOOnZ8H925VP8mDp7g0ffsoZ8WLAoE6KYhzWSS4Fr/YRRgmfQKvGKEALmIZ1TS7T97sYMbNXe1iI0rsd7FI0uH+F6D/Yy0PIpWRj9XGVw3OISmP1cZXS7vYvITVzMhymBbp+a3Kl52OLYR0fVv71IW+o6idyudrtNmeSfa9rn1DR30Yid51QrI/ixZaVK8S1UBM9WYlI3Od2m7lPw13LSPe7n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dtgDGrbuhBphAwJJL1f8fhouVBd+qZIq3kTjkB7vNCyvW8e3b238Ey3EHficAAA=="; \ No newline at end of file diff --git a/classes/FileSystemAccessFS.html b/classes/FileSystemAccessFS.html new file mode 100644 index 0000000..5a27a05 --- /dev/null +++ b/classes/FileSystemAccessFS.html @@ -0,0 +1,557 @@ +
Private
_handlesProtected
getGenerated using TypeDoc
Protected_buffer: Uint8Array
Protected
_dirtyProtected
_flagProtected
_fsProtected
_pathProtected
_posProtected
_statProtected
_positionReadonly
flagProtected
fsThe file system that created the file.
+Readonly
pathPath to the file
+Readonly
statsAdvance the current file position by the indicated number of positions.
+Get the underlying buffer for this file. Mutating not recommended and will mess up dirty tracking.
+Get the current file position.
+We emulate the following bug mentioned in the Node documentation:
+++On Linux, positional writes don't work when the file is opened in append + mode. The kernel ignores the position argument and always appends the data + to the end of the file.
+
The current file position.
+ +Set the file position.
new position
+the mode
+NONSTANDARD: Get the underlying buffer for this file. !!DO NOT MUTATE!! Will mess up dirty tracking.
+Synchronous datasync
.
Default implementation maps to syncSync
.
Inherited from PreloadFile.getBuffer
-Get the current file position.
-We emulate the following bug mentioned in the Node documentation:
---On Linux, positional writes don't work when the file is opened in append - mode. The kernel ignores the position argument and always appends the data - to the end of the file.
-
[Number] The current file position.
- -Inherited from PreloadFile.getPos
-Protected
isProtectedReturns boolean
Inherited from PreloadFile.isDirty
-- Defined in node_modules/@browserfs/core/dist/file.d.ts:424
Read data from the file.
The buffer that the data will be + written to.
+Optional
offset: numberThe offset within the buffer where writing will + start.
+Optional
length: numberAn integer specifying the number of bytes to read.
+Optional
position: numberAn integer specifying where to begin reading from + in the file. If position is null, data will be read from the current file + position.
+Inherited from PreloadFile.read
Read data from the file.
The buffer that the data will be + written to.
+Optional
offset: numberThe offset within the buffer where writing will start.
+Optional
length: numberAn integer specifying the number of bytes to read.
+[Number]
+Optional
position: numberAn integer specifying where to begin reading from + in the file. If position is null, data will be read from the current file + position.
+number of bytes written
Inherited from PreloadFile.readSync
Protected
resetInherited from PreloadFile.resetDirty
Inherited from PreloadFile.stat
Inherited from PreloadFile.statSync
Overrides PreloadFile.sync
Inherited from PreloadFile.truncate
Inherited from PreloadFile.truncateSync
Inherited from PreloadFile.utimes
Inherited from PreloadFile.utimesSync
Write buffer to the file. Note that it is unsafe to use fs.write multiple times on the same file @@ -546,22 +579,37 @@
Uint8Array containing the data to write to + the file.
+Optional
offset: numberOffset in the buffer to start reading data from.
+Optional
length: numberThe amount of bytes to write to the file.
+Optional
position: numberOffset from the beginning of the file where this + data should be written. If position is null, the data will be written at + the current position.
+Inherited from PreloadFile.write
Write buffer to the file. Note that it is unsafe to use fs.writeSync multiple times on the same file @@ -571,19 +619,34 @@
Uint8Array containing the data to write to + the file.
+Optional
offset: numberOffset in the buffer to start reading data from.
+Optional
length: numberThe amount of bytes to write to the file.
+[Number]
+Optional
position: numberOffset from the beginning of the file where this + data should be written. If position is null, the data will be written at + the current position.
+bytes written
Inherited from PreloadFile.writeSync
Generated using TypeDoc
Test whether or not the given path exists by checking with the file system.
+