MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / RegisterEmbeds

Function RegisterEmbeds

tsunami/app/defaultclient.go:138–143  ·  view source on GitHub ↗

RegisterEmbeds is used internally by generated code and should not be called directly.

(assetsFilesystem fs.FS, staticFilesystem fs.FS, manifest []byte)

Source from the content-addressed store, hash-verified

136
137// RegisterEmbeds is used internally by generated code and should not be called directly.
138func RegisterEmbeds(assetsFilesystem fs.FS, staticFilesystem fs.FS, manifest []byte) {
139 client := engine.GetDefaultClient()
140 client.AssetsFS = assetsFilesystem
141 client.StaticFS = staticFilesystem
142 client.ManifestFileBytes = manifest
143}
144
145// DeepCopy creates a deep copy of the input value using JSON marshal/unmarshal.
146// Panics on JSON errors.

Callers

nothing calls this directly

Calls 1

GetDefaultClientFunction · 0.92

Tested by

no test coverage detected