Ticket #57 (closed improvement: invalid)

Opened 3 years ago

Last modified 18 months ago

extend io::block::channel write capabilities

Reported by: niam Owned by: niam
Priority: normal Milestone: 0.13.0
Component: Version:
Severity: feature Keywords:
Cc:

Description (last modified by niam) (diff)

Add such behaviour modifiers for write:

append
insert
replace
append truncate <- truncate source to pos and append, should be default for writeStream

Change History

comment:1 Changed 18 months ago by niam

  • Description modified (diff)

Insert will take too much resources for shifting data(especially for big files) so no much sense in implementation.

comment:2 Changed 18 months ago by niam

  • Status changed from assigned to closed
  • Resolution set to invalid

If append modifier is false then absolute position(io::block::channel::pos) will be push the EOF. This operation is equal to append+truncate.

Note: See TracTickets for help on using tickets.