MCPcopy Create free account
hub / github.com/adaptlearning/adapt_framework / getCourseFileItem

Method getCourseFileItem

grunt/helpers/data/Language.js:157–164  ·  view source on GitHub ↗

@returns {JSONFileItem}

()

Source from the content-addressed store, hash-verified

155
156 /** @returns {JSONFileItem} */
157 getCourseFileItem() {
158 if (!this.courseFileItem) {
159 const err = new Error(`Could not find course item for ${this.path}`);
160 err.number = 10009;
161 throw err;
162 }
163 return this.courseFileItem;
164 }
165
166 /**
167 * @param {string} id

Callers 4

addTrackingIdsMethod · 0.95
removeTrackingIdsMethod · 0.95
applyGlobalsDefaultsMethod · 0.80
generatePatternsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected