Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

[Node.Fs] add accessSync and copyFileSync bindings, along with Fs.Constants module #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrvicadai
Copy link

@mrvicadai mrvicadai commented Jul 15, 2019

Summary

  • Replace nodeFs.ml with nodeFs.re. (This one might be controversial -- so I'm expecting pushbacks here)
    • Most folks who try to use NodeJS are going to use ReasonML syntax -- this makes the binding more legible and approachable.
    • ReasonML comes battery-included with refmt, which makes the formatting consistent.
  • Add accessSync binding to Node.Fs.
  • Add copyFileSync binding to Node.Fs.
  • Add Fs.Constants module: https://nodejs.org/api/fs.html#fs_fs_constants_1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant