347 Commits (804d57db676d54e237a19d42bf443db2b9796525)

Author SHA1 Message Date
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('/') 15 years ago
isaacs ba0c32e2e1 Fix issue #262. Allow fs.realpath to traverse above the current working directory. 15 years ago
Ryan Dahl 0e501f4ec5 Fix style; undefined reference bug 15 years ago
Tobie Langel ccf4afa256 Do not emit WriteStream's drain event before ws.write has been called. 15 years ago
Tobie Langel f5e4047064 Avoid closing a WriteStream before it has been opened. 15 years ago
Tobie Langel 75f922c863 Avoid missing ref error in WriteStream.prototype.destroy(). 15 years ago
Ryan Dahl 24ac87f543 Increase ReadStream bufferSize to 64k 15 years ago
Ryan Dahl 3c00ec4e48 typo: forceClose -> destroy for WriteStreams 15 years ago
Marco Rogers af9aa93e0c fix for fs.readFile to return string when encoding specified on zero length read 15 years ago
Marco Rogers 9c7c6e93e1 Fixed async fs writes with length 0, it should fire the callback 15 years ago
Russell Haering 6078c37be5 Modify fs.open to use accept a callback without a mode 15 years ago
Marco Rogers 6744e59e46 detect 0 length fs writes with tests 15 years ago
Ryan Dahl 3d551e5538 Close fd on readFile(emptyfile) 15 years ago
Chandra Sekar S f5f7cb9264 Support for reading byte ranges from files using fs.createReadStream. 15 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
Ryan Dahl 6bed15e074 Refactor: Utf8Decoder -> StringDecoder 15 years ago
Felix Geisendörfer 5f3906b65e Fix: fs.writeFile could not handle utf8 15 years ago
Felix Geisendörfer 55e964ec19 Fix: fs.readFile would execute callbacks twice 15 years ago
Ryan Dahl 1a5acd9850 API: readFileSync without encoding argument now returns a Buffer 15 years ago
Ryan Dahl 8840ce340d Bugfix: fs.ReadStream.setEncoding 15 years ago
Micheil Smith d89de07758 Adding experimental support for fs.chown and fs.chownSync. 15 years ago
Ryan Dahl 19f475c573 fs.ReadStream should emit Buffers 15 years ago
Felix Geisendörfer c93e0aaf06 Deprecate string interface for fs.read() 15 years ago
Ryan Dahl e84395ff8c Revert "Deprecate string interface for fs.read()" 15 years ago
Felix Geisendörfer cbbf9e43d1 Deprecate string interface for fs.read() 15 years ago
isaacs 5b740c488f Fix a leaking global 15 years ago
Felix Geisendörfer c46cbe0de4 Deprecate string interface for fs.write() 15 years ago
Ryan Dahl e232f09d38 fs.WriteStream.write should support buffer 15 years ago
Andrew Johnston 9599607065 Added posix fsync and fdatasync to fs module 15 years ago
Elijah Insua 976926376d Handle empty files with fs.readFile 15 years ago
Ben Noordhuis c6c77d535f Support for fstat(2) through fs.fstat() and fs.fstatSync(). Added test cases, updated documentation. 15 years ago
isaacs bc45adcffa Add binding.close to fs.readFile 15 years ago
Tim Caswell c07c601c3b fs.readFile uses a buffer internally and will return the raw buffer if no encoding is specified. 15 years ago
Jonathan Knezek 82c8973dfa Changed undefined pos to null to prevent hanging on SheevaPlug 15 years ago
Ryan Dahl e7a1fa1293 fs.FileWriteStream -> fs.WriteStream, fs.FileReadStream -> fs.ReadStream 15 years ago
Felix Geisendörfer c143cba590 Get rid of coupling for stdin 15 years ago