Skip to content

Add missing fs LTS APIs - #202

Merged
kevinresol merged 2 commits into
HaxeFoundation:masterfrom
kevinresol:feat/fs-missing-apis
Jul 13, 2026
Merged

Add missing fs LTS APIs#202
kevinresol merged 2 commits into
HaxeFoundation:masterfrom
kevinresol:feat/fs-missing-apis

Conversation

@kevinresol

Copy link
Copy Markdown
Contributor

Summary

  • Add copyFile/fdatasync/rm/cp/lutimes/statfs/readv/writev/opendir/glob (+ sync variants)
  • Add Dir, Dirent, StatsFs types and related options typedefs

Test plan

  • haxe build.hxml compiles
  • Spot-check signatures against Node.js fs docs

Made with Cursor

kevinresol and others added 2 commits July 13, 2026 22:21
Bring hxnodejs fs externs closer to Node LTS for common sync/callback filesystem helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
Node fs.readv/writev accept ArrayBufferView arrays, not {buffer,offset,length} descriptors; also match StatFs.frsize docs wording.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kevinresol

Copy link
Copy Markdown
Contributor Author

ready to merge

@kevinresol
kevinresol merged commit 2b107e0 into HaxeFoundation:master Jul 13, 2026
@kevinresol
kevinresol deleted the feat/fs-missing-apis branch July 15, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant