MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / ungetc

Method ungetc

server/webdav/internal/xml/xml.go:940–946  ·  view source on GitHub ↗

Unread a single byte.

(b byte)

Source from the content-addressed store, hash-verified

938
939// Unread a single byte.
940func (d *Decoder) ungetc(b byte) {
941 if b == '\n' {
942 d.line--
943 }
944 d.nextByte = int(b)
945 d.offset--
946}
947
948var entity = map[string]rune{
949 "lt": '<',

Callers 5

rawTokenMethod · 0.95
attrvalMethod · 0.95
spaceMethod · 0.95
textMethod · 0.95
readNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected