MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / load

Method load

tools/generate-classes/SchemaCache.js:36–44  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

34 }
35
36 load(name) {
37 // First search relative to the current context.
38 // If not found, search the schema paths.
39 const searchPaths = [
40 this.resolveRelativePath(name),
41 ...this.schemaPaths.map((path) => this.resolvePath(path, name)),
42 ];
43 return this.loadFromSearchPaths(name, searchPaths);
44 }
45
46 loadExtension(schemaName, extensionName) {
47 const searchPaths = this.extensionSchemaPaths.map((path) =>

Callers 3

resolvePropertyFunction · 0.45
index.jsFile · 0.45
generateFunction · 0.45

Calls 3

resolveRelativePathMethod · 0.95
resolvePathMethod · 0.95
loadFromSearchPathsMethod · 0.95

Tested by

no test coverage detected