MCPcopy
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
35func getOTypeGen[T waveobj.WaveObj]() string {
36 var zeroObj T
37 return zeroObj.GetOType()
38}
39
40func 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

GetOTypeMethod · 0.65

Tested by

no test coverage detected