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

Method Open

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

Source from the content-addressed store, hash-verified

240}
241
242func (p pluginRegistry) Open(name string) (fs.File, error) {
243
244 for _, p := range registry {
245
246 if embedPath, ok := p.files.filePaths[name]; ok {
247 return p.files.fileSystem.Open(embedPath)
248
249 }
250 }
251
252 return nil, fs.ErrNotExist
253
254}
255
256func (p pluginRegistry) Stat(name string) (fs.FileInfo, error) {
257

Callers 13

loadRecordsMethod · 0.45
getMetaDataFromFileMethod · 0.45
TestAppendUserRecordFunction · 0.45
ExistsFunction · 0.45
CreateWorldBackupFunction · 0.45
TestRegistry_Open_FoundFunction · 0.45
CopyFileContentsFunction · 0.45

Calls

no outgoing calls