aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/node/node_fs_binding.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-26Implement writev & readv (#3419)Gravatar Jarred Sumner 1-4/+4
* [node:fs] Implement `writev` and `readv` * writev & readv tests * cast to const type * woops * cast --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-23[feat] fs.watch (#3249)Gravatar Ciro Spaciari 1-0/+2
* initial support * add types * fix comment * fix types * bigfix up * more fixes * fix some encoding support for watch * fix rename event * fixup * fix latin1 * add fs_events, still failing some tests * fixuup * remove unecesary check * readd tests ops * this is necessary? just testing CI/CD weird errors * just use dupe here * cleanup and fix deinit * fix zig upgrade
2023-06-18Fix a bunch of bugs (#3352)Gravatar Jarred Sumner 1-2/+6
* Fix a bunch of bugs * undo that one * Fix crash in readdir() * woops * woops * Add comment * :scissors: * Make `readlink()` and `realpath` use much less memory * Update BunString.cpp * woopsie * Unnecessary * Don't commit these --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-19Fix broken autocompleteGravatar Jarred Sumner 1-2/+2
2023-02-06Expose Dirent and Stats (#1998)Gravatar MichaƂ Warda 1-0/+4
* Expose dirent and stats * Expose Dirent and Stats inside fs * Add tests for Dirent and Stats exposing * Automatically generate bindings
2023-01-18Fix crash with invalid arguments in readdir()bun-v0.5.0Gravatar Jarred Sumner 1-1/+6
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-352/+152
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-2/+2
2022-11-14Bugfixes and perf improvements to child_processGravatar Jarred SUmner 1-0/+8
2022-10-03`node:fs` implement `rm` on macOSGravatar Jarred Sumner 1-0/+8
no linux yet
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-0/+423