Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dim-an/cod
/ UnreadByte
Method
UnreadByte
shells/tokenize.go:101–107 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
99
}
100
101
func
(s *positionedScanner) UnreadByte() (err error) {
102
err = s.scanner.UnreadByte()
103
if
err != nil {
104
s.pos -= 1
105
}
106
return
107
}
108
109
func
(s *positionedScanner) GetPosition() int {
110
return
s.pos
Callers
1
tokenize
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected