Felix Geisendörfer
301f53c2aa
Allow omission of end option for range reads
Problem: Sometimes it is useful to read a file from a certain position
to it's end. The current implementation was already perfectly capable
of this, but decided to throw an error when the user tried to omit
the end option. The only way to do this, was to pass {end: Infinity}.
Solution: Automatically assume {end: Infinity} when omitted, and remove
the previous exception thrown. Also updated the docs.
closes #801 .
14 years ago
Jorge Chamorro Bieling
e35b2d9617
docs: fs.read/write() cb()s now receive buffer
14 years ago
David Trejo
6788ad413f
See the <doc> section are now links to <doc>
Closes GH-839.
14 years ago
Trevor Burnham
5e78f57087
Doc fix for fs.write
Closes GH-808
Closes GH-811
14 years ago
Trevor Burnham
f0d0fcc4aa
Clarifying that writeFile replaces existing file
14 years ago
Felix Geisendörfer
2680522d3a
Fix ReadStream bufferSize docs
The default is 64kb buffer, not 4kb.
Closes GH-702.
14 years ago
Felix Geisendörfer
06ac129903
Document existence of `fd` property for ReadStream
Closes GH-194.
Closes GH-701.
14 years ago
Felix Geisendörfer
aabdd5d045
Correct fs.open API documentation
The fact that the mode parameter is optional for fs.open and
fs.openSync was not documented.
14 years ago
Ryan Dahl
bf8f4aa966
Impove fs.WatchFile doc
14 years ago
Ryan Dahl
3d4a0211b6
Fix arg order of fs.linkSync in docs
Thanks Pierre. Closes GH-571.
14 years ago
Silas Sewell
11b2ee7632
Various doc tweaks (2-spaces vs tabs, EOL-whitespace, repl prompt, "world" vs "World", etc...)
14 years ago
Ryan Dahl
bce092aeb8
Remove leading comma examples
14 years ago
Dan Søndergaard
8591057fa3
Better description of lstat(). Wrapped all lines.
14 years ago
Micheil Smith
e190c9616e
Splitting documentation
14 years ago