Brandon Wissmann
3b4bf42604
Fixes #662 : exchange var for const of require statements in src/filesystem/interface.js ( #668 )
...
* exchange var for const of require statements
Changed decleration of import files from var to const in interface.js
* Fixed all areas where var was used as well as use destructing assignment for CONST imports.
* Fixed import const statement
* Added changes from let to const in certain lines
2019-01-31 20:22:46 -05:00
David Humphrey
c6e1d51612
Reorder method order to match node's lib/fs.js, document missing
2019-01-02 23:09:47 -05:00
David Humphrey
c0acdb97d6
Match node's layout for access modes on fs, with tests
2019-01-02 22:23:58 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
85a8c21dc1
Support file:// URLs and Buffers for path args, throw when invalid
2019-01-02 19:46:36 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
bc861bfd4a
Move open files to its own module, properly close fds in tests
2018-12-29 15:11:39 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
11c91acdcf
Move device name off fs and onto context
2018-12-29 15:11:39 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
bfe4385a83
Fix #633 : fix test failure in coverage run
2018-12-20 19:00:39 -05:00
Alexei Kozachenko
0eb7066a86
Added mkdtemp method (issue #441 )
...
Added/fixed mkdtemp method (issue 441)
Added/fixed mkdtemp method (issue 441)
Added/fixed mkdtemp method (issue 441)
fixed a typo
Added mkdtemp method description to readme
Unit tests for mkdtemp method added (issue #394 )
Added generateRandom(), randomChars() to shared.js. Corrections in README. Fixes for mkdtemp method
cleaned up mkdtemp()
fixed regex
Fix for failing test (humphd)
2018-12-15 00:39:09 -05:00
kwkofler
6a5d9073f3
Issue 87 - Added fs.fsync() as a no-op, and added tests. Modified documentation.
...
Made requested changes to tests, functionality; reverted doc changes
2018-12-02 00:05:57 -05:00
David Humphrey
7ab229a64c
Fix #572 : remove lib/nodash.js, use builtins instead
2018-11-28 22:54:31 -05:00
David Humphrey
d1cf1286cb
Fix #576 : remove unnecessary methods from fs.promises, adjust tests to match
2018-11-28 19:42:32 -05:00
Deepanjali Gerangal
400b2c3c88
Fix #558 - Implementing fs.access() method ( #560 )
...
* Implementing fs.access() method
* added new line to access.js
* updated requested changes
* updated README.md with fs.access
* fixing truncate error
* updated README.md
* changed access.js to access.spec.js
2018-11-17 15:31:20 -05:00
Dmytro
353290a08f
Adding support for promises. Closes #379 , #382 ( #380 )
...
* adding promise-based filedescriptor
* fixing promisify dep
* promisifying shell
* deprecating 'exists' method on fs
* adding docs
* fixing docs
* removing redundant code.
2018-08-27 19:50:41 -04:00
David Humphrey
0da0e60194
Fix lint issues in interface.js
2018-07-27 11:17:45 -04:00
David Humphrey
a900d8df6d
Add eslint --fix scripts, fix first round of lint errors
2018-07-15 13:25:35 -04:00
David Humphrey
9508833b37
Add chown, fchown, chmod, fchmod and tests.
2018-07-14 10:02:29 -04:00
Gideon Thomas
286074f519
Fix #297 - Provide better initialization errors
2014-11-22 12:47:42 -05:00
Kieran Sedgwick
3178ad9a45
Review fixes
2014-11-04 13:03:49 -05:00
Kieran Sedgwick
c4c13c1535
Fix #245 - Forced the user to manually instantiate FileSystemShell objects
2014-11-04 13:03:49 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
ba5f3fdbcd
Fix #266 - let FileSystem ctor figure out if an existing filesystem exists
2014-08-20 20:53:01 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
84112410ba
Fix #258 - Queued fs calls hang when fs goes into error state due to provider.open error
2014-08-18 14:08:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d55bf23f1b
Initial work on #227 - improve storage efficiency of provider API
2014-08-16 16:22:41 -04:00
Alan K
10f1f43d93
Merge pull request #233 from humphd/ensure-root-dir
...
s/make_root_directory/ensure_root_directory/ and stop failing on existing node. Fixes #232 .
2014-07-21 10:02:11 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
6716a1ff1a
s/make_root_directory/ensure_root_directory/ and stop failing on existing node. Fixes #232 .
2014-07-07 17:02:42 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
5ab211d14d
Make Filer node guid pluggable, default to de-duping ids on generation.
2014-06-02 16:44:20 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d9ed65602a
Remove adapters (src, tests, docs), fix providers for node
2014-05-23 14:36:23 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
375719b49b
Refactor module system from AMD to CommonJS
2014-05-23 14:14:06 -04:00
Alan K
247ebd113a
Merge pull request #187 from yoavgurevich/issue62v2
...
Fixes #62
2014-05-21 16:17:19 -04:00
gideonthomas
aff6570ad6
Added mknod command to create a file or directory node
2014-05-21 11:25:23 -04:00
yoavgurevich
067f9beb88
Final revisions on removal of arbitrary logic and indentation issues
2014-05-16 17:17:50 -04:00
yoavgurevich
6b2a023dea
Corrected conflicting syntax and added testing clause for file descriptor argument value
2014-05-14 16:02:46 -04:00
yoavgurevich
382e59afd3
Added line note fixes to issue 62 logic in interface.js
2014-05-14 12:19:44 -04:00
Petr Bouianov
bdd4b5c9fe
Fixes issue #62
2014-04-17 19:22:20 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
bf22cad14d
Move shell.js and environment.js to shell/
2014-03-18 16:41:31 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
a28feae506
Fix failing tests for src/filesystem/* issues, all tests pass now
2014-03-18 16:34:47 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
b73678c5c0
Remove duplicate decls across filesystem/*
2014-03-18 14:31:38 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
2418b4a634
Split up fs.js
2014-03-18 14:16:12 -04:00