JS: missing implementations for imported C functions `rename`, `realpath` and `getcwd`, used in building `jsaddle-dom`
The following C functions are imported by various boot libraries, and in turn used by jsaddle-dom
's Setup.hs
script. Each missing JavaScript implementation can be made trivially with equivalent NodeJS functions:
-
rename
: imported byunix
, equivalent to node'sfs.renameSync
-
realpath
: imported bydirectory
, equivalent to node'sfs.realpathSync
-
getcwd
: imported byunix
, equivalent to node'sprocess.cwd