-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update cursor correctly in blob file API (#3018)
When `read` returns it should update the cursor to the end of the data just read. However, we were calculating this as `end` and not `end - position`. The cursor is supposed to be relative to the start of the blob in the file (e.g. 0 == `position`).
- Loading branch information
1 parent
7373189
commit f9024ce
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters