Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/apache/answer
/ checkObjectID
Function
checkObjectID
pkg/obj/obj.go:50–55 ·
view source on GitHub ↗
(objectID string)
Source
from the content-addressed store, hash-verified
48
}
49
50
func
checkObjectID(objectID string) (err error) {
51
if
len(objectID) < 5 {
52
return
errors.BadRequest(reason.ObjectNotFound)
53
}
54
return
nil
55
}
Callers
2
GetObjectTypeStrByObjectID
Function · 0.85
GetObjectTypeNumberByObjectID
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected