Closed earl closed 14 years ago
i'd propose the following:
basically, just bring everything up to current commonjs proposals.
adding wip.hannesw
started new fs-cleanup branch in my repo:
http://github.com/hns/ringojs/tree/fs-cleanup
Current state: there's now a new "fs" module based on "fs-base" that implements more or less the functionality we had in "file", but updated to current Filesystem/A proposal.
The file tests have been modified to use "fs" and all pass, but there are probably some oversights left.
fs-cleanup was merged in 24879b5d6de25c260f8f820c51f5aa521badb844, so this issue is now fixed.
a low-hanging fruit may be to start with getting rid of the global 'file' module, usage of which seems to be limited:
Unfortunately, file provides some facilities not yet available in fs-base (Hannes mentioned the missing text-mode open), so that will have to be looked into.