MCPcopy
hub / github.com/dgraph-io/dgraph / init

Function init

x/x.go:148–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146)
147
148func init() {
149 SuperAdminUid.Store(RootNamespace, 0)
150 GrootUid.Store(RootNamespace, 0)
151}
152
153// SafeUTF8 sanitizes a string for OTLP export by replacing invalid UTF-8 sequences.
154func SafeUTF8(s string) string {

Callers

nothing calls this directly

Calls 1

StoreMethod · 0.45

Tested by

no test coverage detected