-
Notifications
You must be signed in to change notification settings - Fork 315
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
If we transfer a file with size N to add_piece and ask to write M bytes (where N > M)
Then the function will write N bytes. It seems like overkill.
I think add_piece should write M bytes only
Acceptance criteria
add_piece function writes piece_size bytes
Risks + pitfalls
If you pass /dev/zero file, then the copy will be infinite.
Where to begin
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request