vibe-core/source/vibe/core
v1ne 513bebcb95 FileStream: Approximate the file offset better when appending
Instead of starting at zero, start at the current file size. This offset
is stored in FileStream. It is only an approximation because concurrent
writes could advance the file without FileStream's knowledge.

Add a test that shows that the offset is approximated as expected and that
appending to an existing file works, too.

This is also a regression test which shows that appending to an existing
file works as expected. See vibe-d/eventcore#115.
2019-07-26 00:38:15 +02:00
..
internal Handle terminated eventcore drivers gracefully when releasing handles. 2019-06-20 11:56:22 +02:00
args.d fix relying on implicit const conversion of JSONValue 2018-11-01 12:59:44 +01:00
channel.d Let empty block to make sure the following consumeOne succeeds. 2019-06-16 23:00:05 +02:00
concurrency.d Remove useless imports to std.variant 2019-05-28 14:24:42 +09:00
connectionpool.d Add ConnectionPool.removeUnused. 2019-03-28 14:11:20 +01:00
core.d Bump version number. 2019-06-21 21:44:27 +02:00
file.d FileStream: Approximate the file offset better when appending 2019-07-26 00:38:15 +02:00
log.d Implement logException. 2019-05-25 22:12:43 +02:00
net.d Let TCPConnection.leastSize time out according to the readTimeout property. 2019-06-16 09:55:00 +02:00
path.d Fix WindowsPath.bySegment of an empty path returning a bogus empty segment. 2018-10-01 21:54:29 +02:00
process.d s/registerProcess/adoptProcessID/g 2019-06-04 10:13:00 +10:00
stream.d avoid Buffer type which creates a huge __initZ symbol 2018-01-14 04:43:14 +01:00
sync.d Fix a (harmless) race-condition. 2019-04-13 17:01:50 +02:00
task.d Avoid yielding in the task finalization phase. Fixes #161. 2019-06-16 22:44:11 +02:00
taskpool.d Implement runWorkerTaskDistH. 2019-01-26 18:02:47 +01:00