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

Function GetFile

internal/audio/audio.go:29–34  ·  view source on GitHub ↗
(identifier string)

Source from the content-addressed store, hash-verified

27)
28
29func GetFile(identifier string) AudioConfig {
30 if f, ok := audioLookup[identifier]; ok {
31 return f
32 }
33 return AudioConfig{}
34}
35
36func GetAllAudio() map[string]AudioConfig {
37 cp := make(map[string]AudioConfig, len(audioLookup))

Callers 6

handleTelnetConnectionFunction · 0.92
handleSSHConnectionFunction · 0.92
PlayMusicMethod · 0.92
PlaySoundMethod · 0.92
PlaySoundMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected