aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar maor-benami <85426848+maor-benami@users.noreply.github.com> 2023-02-28 07:07:35 +0200
committerGravatar GitHub <noreply@github.com> 2023-02-27 21:07:35 -0800
commit0a340d1920175252954f782549704cc17bd5a1a3 (patch)
treefbd6745cc4628815135ed8b3e2aac2d1c99ec34d
parent56488d54d05b756a35293af51a1d0e6f95bcd6f6 (diff)
downloadbun-0a340d1920175252954f782549704cc17bd5a1a3.tar.gz
bun-0a340d1920175252954f782549704cc17bd5a1a3.tar.zst
bun-0a340d1920175252954f782549704cc17bd5a1a3.zip
Update file-io.md (#2229)
duplicated word
-rw-r--r--docs/api/file-io.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/file-io.md b/docs/api/file-io.md
index 18bd5ad3a..713bee9b7 100644
--- a/docs/api/file-io.md
+++ b/docs/api/file-io.md
@@ -8,7 +8,7 @@ Bun provides a set of optimized APIs for reading and writing files.
`Bun.file(path): BunFile`
-Create a `BunFile` instance with the `Bun.file(path)` function. A `BunFile` represents represents a lazily-loaded file; initializing it does not actually read the file from disk.
+Create a `BunFile` instance with the `Bun.file(path)` function. A `BunFile` represents a lazily-loaded file; initializing it does not actually read the file from disk.
```ts
const foo = Bun.file("foo.txt"); // relative to cwd