Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blobcache/blobcache
/ SetOpCode
Method
SetOpCode
src/bcp/message.go:28–30 ·
view source on GitHub ↗
(oc uint8)
Source
from the content-addressed store, hash-verified
26
}
27
28
func
(mt *MessageCode) SetOpCode(oc uint8) {
29
*mt = (*mt & 0xff00) | MessageCode(oc)
30
}
31
32
func
(mt MessageCode) IsError() bool {
33
return
mt > MT_OK
Callers
1
Code
Method · 0.80
Calls
1
MessageCode
TypeAlias · 0.85
Tested by
no test coverage detected