Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/isomorphic-git/isomorphic-git
/ _moveCursor
Method
_moveCursor
src/utils/StreamReader.js:96–102 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
94
}
95
96
_moveCursor(n) {
97
this.undoCursor = this.cursor
98
this.cursor += n
99
if
(this.cursor > this.buffer.length) {
100
this.cursor = this.buffer.length
101
}
102
}
103
104
async
_accumulate(n) {
105
if
(this._ended)
return
Callers
4
byte
Method · 0.95
chunk
Method · 0.95
read
Method · 0.95
skip
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected