Commit Graph

94 Commits

Author SHA1 Message Date
David Humphrey c0acdb97d6 Match node's layout for access modes on fs, with tests 2019-01-02 22:23:58 -05:00
David Humphrey f4ff2e9ed9
Add Filer.fs to support creating a filesystem like node.js (#651)
* Add Filer.fs to support

* Update README code examples, add tests, also expose Path as path
2019-01-02 21:21:25 -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 1ad81f9bae Remove WebSQL provider (last supported in v0.0.44) 2019-01-02 13:22:51 -05:00
David Humphrey 22731267a9 Update README for changes in 1.0.x 2018-12-21 15:28:58 -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 443b582038 Issue #86: Added support for Unix Timestamps
Co-authored-by: David Humphrey <david.humphrey@senecacollege.ca>
2018-12-14 23:58:42 -05:00
Adam bb9dd2e67c Update README.md 2018-12-12 21:38:16 -05:00
Pooch11 d894a4cf16 readme dummy changes 2018-12-12 21:38:16 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 7d196763f8 Update docs, fix test failure 2018-12-02 00:05:57 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 923b999e89 Fix #547: update Buffer use, docs, tests to match node.js v11.3.0 2018-12-01 20:05:05 -05:00
David Humphrey 43d2632069 Improve coverage: add test for rel paths with symlink 2018-11-29 16:57:06 -05:00
David Humphrey 725bfbf30c
Fixes #422: Add nyc lcov-based code coverage for tests (#565)
* Add nyc lcov-based code coverage for tests

* Add codecov to travis

* Add codecov badge to README
2018-11-28 19:24:03 -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
jrkong b1c4f04f83 Removed outdated about permission functions in README.md (#513) 2018-10-09 20:53:32 -04:00
Corey James e3a1187ef9 Fixed the fs.read() example in doc. The error checking statements were using the wrong variable name (#449) 2018-09-24 14:08:49 -04: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 3da99f0133 Update README with new info about additional APIs 2018-07-14 10:02:29 -04:00
David Humphrey 0aaaeacd1a Update sh.ls and stats to remove bits I don't need, add what I do. 2018-07-14 10:02:29 -04:00
Santiago Castro 68cbd54524 Fix broken Markdown headings 2017-04-18 02:34:52 -03:00
orthographic-pedant 3ddb877276 Fix typographical error(s)
Changed conjuction to conjunction in README.
2015-10-07 14:47:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 21b602ef66 Fix #329 - Implement Shell.find() 2014-11-28 15:05:47 -05:00
Kieran Sedgwick 0d4110ff6f Fixed #323 - Updated references to "fs.Shell" in the docs and test suite 2014-11-14 12:04:51 -05:00
Kieran Sedgwick c4c13c1535 Fix #245 - Forced the user to manually instantiate FileSystemShell objects 2014-11-04 13:03:49 -05:00
Alan K b1e428a4e7 Update README.md
`js-platform` -> `filerjs`
2014-09-18 13:07:59 -04:00
Ali Al Dallal adf039943d Remove wget to make Filer work in node.js 2014-09-09 09:30:03 -04:00
Bobby Richter 65ddff6ae7 Update README.md 2014-08-14 15:43:22 -07:00
David Humphrey acd806c7b8 Update README.md
Fix some typos
2014-06-25 14:30:39 -04:00
David Humphrey 1863156114 Update README.md
Include additional things we've done recently but haven't documented (UMD module loading, npm/bower, Buffer rewrite).
2014-06-25 14:28:53 -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
gideonthomas aff6570ad6 Added mknod command to create a file or directory node 2014-05-21 11:25:23 -04:00
David Humphrey 14c584ab8e Update README.md
Fix outdated wget file naming docs missed when we landed the new wget stuff.
2014-05-15 11:48:47 -04:00
Alan K 4a72e3b333 Update README.md
Realpath won't be implemented on the fs object.
2014-05-14 17:07:29 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 411d6b2a9c Docs and update arg names to match docs 2014-05-14 13:31:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 0e213077e7 Add sh.wget() for downloading files into the fs, with tests and docs 2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 670b84eba9 Fixed wget docs to match new filename extraction 2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2aa46493fa Add sh.wget() for downloading files into the fs, with tests and docs 2014-05-14 13:24:53 -04:00
Kevin 51c858a2ce Made requested changes 2014-04-25 16:54:20 -04:00
kwkofler 678000f706 Issue #7 - Docs explicitly mention that buffers must be ArrayBufferView's. 2014-04-18 14:42:36 -04:00
Petr Bouianov ea88e78df2 Fixed issues as per pull request conversation 2014-03-30 00:13:25 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca e7c6b4f105 Fix issue #153, add browser compatibility matrix 2014-03-18 11:10:43 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca fe7ec79f83 Refactor errors code, fix to better match node 2014-03-16 11:36:15 -04:00
Petr Bouianov 6faabdb937 Added shell.mkdirp. Fixes issue #126. 2014-03-13 23:03:29 -05:00
David Humphrey ef40ff7d68 Expose errors on Filer.Errors, refactor how they get used internally, add docs 2014-03-10 14:28:22 -04:00
Alan K df62725977 Update README.md
Add absolute path to CONTRIBUTING.md so that the project page has the right link when README.md is imported.
2014-03-08 20:41:32 -05:00
Alan K 0cfb29eaec Merge pull request #140 from humphd/issue132
Support fs.watch(), FSWatcher. Fixes #132
2014-03-08 16:04:15 -05:00
kwkofler 3bc9b29957 Removed unnecessary curly braces 2014-03-08 14:14:24 -05:00
kwkofler bbdc972011 README formatting issues remedied 2014-03-08 14:12:47 -05:00
kwkofler 4ff7c7d7cb Fixed README issues, and fixed misuse of expect() syntax. 2014-03-08 13:53:53 -05:00
kwkofler 880f70d3de Merge remote-tracking branch 'upstream/develop' into issue#112
Conflicts:
	src/fs.js
	tests/test-manifest.js
2014-03-07 18:47:32 -05:00