Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bluekeyes/patch2pr
/ bufferEmpty
Method
bufferEmpty
cmd/patch2pr/mbox.go:104–106 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
102
}
103
104
func
(r *mboxMessageReader) bufferEmpty() bool {
105
return
r.next.Len() == 0
106
}
107
108
func
matchMBoxHeader(b []byte) (n int) {
109
for
n < len(b) && n < len(mboxHeader) {
Callers
2
Next
Method · 0.95
Read
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected