104 Commits (2cfe7b847d986de3ca7b7191102b489913a7639e)

Author SHA1 Message Date
isaacs 8b9dbdad27 Closes GH-687 Don't read fs read stream if not open 14 years ago
Felix Geisendörfer e56ee67e13 Refactor fs.open parameter handling 14 years ago
Felix Geisendörfer 29b0dc4ec8 Fix: fs.open callback did not fire 14 years ago
Bert Belder 8d70294c31 Fix fs.realpathSync on windows 14 years ago
isaacs 9bed5dcb2c Support caching for realpath, use in module load 14 years ago
isaacs 5f2e90934e Support octal strings for modes 14 years ago
Ryan Dahl 5a05992155 Lint 14 years ago
Bert Belder dea2331377 Rework fs.realpath, primordal windows compatibility 14 years ago
Ryan Dahl cda4d56bcf Implement WriteStream.destroySoon 14 years ago
Ryan Dahl 2957382991 Implement new stream method, destroySoon 14 years ago
Ryan Dahl 09329cbb04 more lint 14 years ago
Evan Larkin bc02d47b21 Fix variable leak. 14 years ago
isaacs 9996b459e1 Implement new path.join behavior 14 years ago
isaacs 589e27948b writeFile fixes 14 years ago
Chandra Sekar S 2b08bacd56 Removed range read optimization as it doesn't work with libeio. 14 years ago
isaacs 987cbbc191 Handle cyclic links smarter in fs.realpath 14 years ago
Ryan Dahl 901d5fd0d2 Don't require events in fs.js 14 years ago
Ryan Dahl 32aadd9400 fs.ReadStream and fs.WriteStream derive from stream.Stream 14 years ago
Micheil Smith 7bfefb5250 Removed deprecated methods from lib/fs.js 14 years ago
Micheil Smith e38eb0c5a4 Soft migration of sys -> util, Removal of deprecated utils module. 14 years ago
Joshaven Potter 3d4e4d8909 syntax fixes to pass jslint 14 years ago
isaacs 8ff7954165 Fix #325. Add test and check for zero-length file contents in fs.readFileSync 14 years ago
Marco Rogers 4a7562d28f fix encoding option on ReadStream, updated test 14 years ago
Evan Larkin 914ff78df6 fs.ReadStream: Passing null for file position on all reads except the first read of a range read. 14 years ago
Evan Larkin 43ddc04bb0 No longer using the global variable "stat" in unwatchFile 14 years ago
Ryan Dahl f323f34353 writeable -> writable 14 years ago
Ryan Dahl 069d973d74 Remove require('buffer') in built-in libraries. 14 years ago
isaacs 4d0456f827 Don't use stat in fs.readFile[Sync] 14 years ago
Tj Holowaychuk 893ebe7230 Fixed fs.ReadStream() start: 0 bug 14 years ago
Ryan Dahl 6eca948ca2 Move constants out of process object 14 years ago
Ryan Dahl bbbcd1fee0 Safe constructors for fs.ReadStream and fs.WriteStream 14 years ago
isaacs 686d9f9cc6 Bug in realpath with symlinks to absolute folder paths which have children. 14 years ago
Ryan Dahl 3a9570386a Fix fs.realpathSync('/') 14 years ago
isaacs ba0c32e2e1 Fix issue #262. Allow fs.realpath to traverse above the current working directory. 14 years ago
Ryan Dahl 0e501f4ec5 Fix style; undefined reference bug 14 years ago
Tobie Langel ccf4afa256 Do not emit WriteStream's drain event before ws.write has been called. 14 years ago
Tobie Langel f5e4047064 Avoid closing a WriteStream before it has been opened. 14 years ago
Tobie Langel 75f922c863 Avoid missing ref error in WriteStream.prototype.destroy(). 14 years ago
Ryan Dahl 24ac87f543 Increase ReadStream bufferSize to 64k 14 years ago
Ryan Dahl 3c00ec4e48 typo: forceClose -> destroy for WriteStreams 14 years ago
Marco Rogers af9aa93e0c fix for fs.readFile to return string when encoding specified on zero length read 14 years ago
Marco Rogers 9c7c6e93e1 Fixed async fs writes with length 0, it should fire the callback 14 years ago
Russell Haering 6078c37be5 Modify fs.open to use accept a callback without a mode 14 years ago
Marco Rogers 6744e59e46 detect 0 length fs writes with tests 14 years ago
Ryan Dahl 3d551e5538 Close fd on readFile(emptyfile) 14 years ago
Chandra Sekar S f5f7cb9264 Support for reading byte ranges from files using fs.createReadStream. 14 years ago
Ryan Dahl 458bbb4687 fs.writeSync should return bytes written 15 years ago
Ryan Dahl 02729d4af7 instanceof Buffer to Buffer.isBuffer() 15 years ago
Aaron Heckmann 1d088fb906 fs.writeFile accepts Buffers 15 years ago
Peter Dekkers e48f0d1dd9 Fixed incorrect mask for determining fs.Stats types 15 years ago