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

Method Filepath

internal/spells/spells.go:148–150  ·  view source on GitHub ↗

SpellData implements the Filepath method from the Loadable interface.

()

Source from the content-addressed store, hash-verified

146
147// SpellData implements the Filepath method from the Loadable interface.
148func (s *SpellData) Filepath() string {
149 return util.FilePath(fmt.Sprintf("%s.yaml", s.SpellId))
150}
151
152func (s *SpellData) Validate() error {
153

Callers 1

GetScriptPathMethod · 0.95

Calls 1

FilePathFunction · 0.92

Tested by

no test coverage detected