isaacs
70461c39be
test: simple/test-file-write-stream needs to use 0 lowWaterMark
12 years ago
isaacs
44b308b1f7
fs: streams2
12 years ago
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
13 years ago
Felix Geisendörfer
80711b0ff9
Feature: WriteStream#bytesWritten property
Implemented a new property for writable file streams that keeps track
of the bytes written (not queued). This helps when you are piping
another stream to a file, and would like to know how big the file is
without having to issue another stat call.
closes #930
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Oleg Efimov
0665f0271e
GJSLint all simple tests exclude http-*, url, path
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Ryan Dahl
604f4fdf8c
Write write.txt into the tmpdir
14 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Ryan Dahl
f618551694
Remove callback argument to FileWriteStream.prototype.write
15 years ago
Ryan Dahl
50c70ac714
Update stream API: forceClose() -> destroy(), close() -> end()
15 years ago
Ryan Dahl
b80f6e9ed1
http2 now default
15 years ago
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
Felix Geisendörfer
44dde5f24c
Remove fs/path globals from test suite
It is way too easy to not notice bugs due to those modules being
exported as globals while running the test suite.
See: http://github.com/ry/node/issues#issue/75
15 years ago
Felix Geisendörfer
9a9f08b1bc
Add callbacks to stream methods
Allows for more fine graining, especially finding out about an individual
chunk of data being flushed in a write stream rather than the whole queue.
This commit also fixes a bug causing forceClose to fail on a readStream that
did not finish opening yet.
15 years ago
Felix Geisendörfer
0fcc94525a
Renamed fileReadStream -> createReadStream
Did the same for fileWriteStream as well.
15 years ago
Felix Geisendörfer
48562fa938
Updated file streams
Read streams now only support forceClose()
Write streams support close() and forceClose()
15 years ago
Felix Geisendörfer
61785afb3d
Initial write stream implementation
15 years ago