MCPcopy Create free account
hub / github.com/SAP/ui5-project / _getReader

Method _getReader

lib/specifications/ComponentProject.js:234–244  ·  view source on GitHub ↗
(excludes)

Source from the content-addressed store, hash-verified

232 }
233
234 _getReader(excludes) {
235 let reader = this._getSourceReader(excludes);
236 const testReader = this._getTestReader(excludes);
237 if (testReader) {
238 reader = resourceFactory.createReaderCollection({
239 name: `Reader collection for project ${this.getName()}`,
240 readers: [reader, testReader]
241 });
242 }
243 return reader;
244 }
245
246 _addWriter(reader, style) {
247 const {namespaceWriter, generalWriter} = this._getWriter();

Callers 2

getReaderMethod · 0.95
getWorkspaceMethod · 0.95

Calls 3

_getSourceReaderMethod · 0.95
_getTestReaderMethod · 0.95
getNameMethod · 0.45

Tested by

no test coverage detected