Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blobcache/blobcache
/ RandomOID
Function
RandomOID
src/blobcache/blobcache.go:22–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
type
OID [OIDSize]byte
21
22
func
RandomOID() (ret OID) {
23
rand.Read(ret[:])
24
return
ret
25
}
26
27
func
ParseOID(s string) (OID, error) {
28
var
ret OID
Callers
7
ShareIn
Method · 0.92
OpenFrom
Method · 0.92
CreateVolume
Method · 0.92
createRemoteVolume
Method · 0.92
CreateQueue
Method · 0.92
QueueAPI
Function · 0.92
BeginTx
Method · 0.92
Calls
1
Read
Method · 0.80
Tested by
no test coverage detected