MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / PruneSpellVMs

Function PruneSpellVMs

internal/scripting/spell.go:26–27  ·  view source on GitHub ↗

PruneSpellVMs is intentionally a no-op. Spell VMs are keyed by spell ID and are not tied to any instance lifecycle.

(instanceIds ...int)

Source from the content-addressed store, hash-verified

24// PruneSpellVMs is intentionally a no-op. Spell VMs are keyed by spell ID
25// and are not tied to any instance lifecycle.
26func PruneSpellVMs(instanceIds ...int) {
27}
28
29// InvalidateSpellVM removes the cached VM for a spell so the next call reloads
30// the script from disk. Call this after saving a spell script via the admin API.

Callers 1

PruneVMsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected