MCPcopy
hub / github.com/EngoEngine/engo / GetRoot

Method GetRoot

assets.go:66–68  ·  view source on GitHub ↗

GetRoot returns the folder currently set at root.

()

Source from the content-addressed store, hash-verified

64
65// GetRoot returns the folder currently set at root.
66func (formats *Formats) GetRoot() string {
67 return formats.root
68}
69
70// Register registers a resource loader for the given file format.
71func (formats *Formats) Register(ext string, loader FileLoader) {

Callers 3

loadMethod · 0.95
LoadReaderDataMethod · 0.95
TestFilesSetRootFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestFilesSetRootFunction · 0.64