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

Method Stat

internal/plugins/plugins.go:256–267  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

254}
255
256func (p pluginRegistry) Stat(name string) (fs.FileInfo, error) {
257
258 for _, p := range registry {
259
260 if embedPath, ok := p.files.filePaths[name]; ok {
261 return fs.Stat(p.files.fileSystem, embedPath)
262 }
263 }
264
265 return nil, fs.ErrNotExist
266
267}
268
269func (p *Plugin) Requires(modname string, modversion string) {
270 // modname can only contain alphanumeric or underscores.

Callers 15

altsExistsFunction · 0.45
ExistsMethod · 0.45
DoFilenameMigrationV1Function · 0.45
HasScriptMethod · 0.45
GetScriptMethod · 0.45
GetScriptMethod · 0.45
ReloadConfigFunction · 0.45
ExistsFunction · 0.45
LoadAliasesFunction · 0.45
SavePanelLayoutFunction · 0.45
GetScriptMethod · 0.45
loadAllRoomZonesFunction · 0.45

Calls

no outgoing calls