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

Method getAllFileItems

grunt/helpers/data/Language.js:149–154  ·  view source on GitHub ↗

@returns {[JSONFileItem]}

()

Source from the content-addressed store, hash-verified

147
148 /** @returns {[JSONFileItem]} */
149 getAllFileItems() {
150 return this.files.reduce((memo, file) => {
151 memo.push(...file.fileItems);
152 return memo;
153 }, []);
154 }
155
156 /** @returns {JSONFileItem} */
157 getCourseFileItem() {

Callers 6

loadMethod · 0.95
checkIdsMethod · 0.95
addTrackingIdsMethod · 0.95
removeTrackingIdsMethod · 0.95
exportMethod · 0.80
migration.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected