Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wavetermdev/waveterm
/ getOTypeGen
Function
getOTypeGen
pkg/wstore/wstore_dbops.go:35–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
func
getOTypeGen[T waveobj.WaveObj]() string {
36
var
zeroObj T
37
return
zeroObj.GetOType()
38
}
39
40
func
DBGetCount[T waveobj.WaveObj](ctx context.Context) (int, error) {
41
return
WithTxRtn(ctx,
func
(tx *TxWrap) (int, error) {
Callers
nothing calls this directly
Calls
1
GetOType
Method · 0.65
Tested by
no test coverage detected