* Gets a [ReaderCollection]@ui5/fs/ReaderCollection for the root directory of the specification. * Resource readers always use POSIX-style * * @public * @param {object} [parameters] Parameters * @param {object} [parameters.useGitignore=true] * Whether to apply any excludes defi
({useGitignore=true} = {})
| 248 | * @returns {@ui5/fs/ReaderCollection} Reader collection |
| 249 | */ |
| 250 | getRootReader({useGitignore=true} = {}) { |
| 251 | return createReader({ |
| 252 | fsBasePath: this.getRootPath(), |
| 253 | virBasePath: "/", |
| 254 | name: `Root reader for ${this.getType()} ${this.getKind()} ${this.getName()}`, |
| 255 | useGitignore |
| 256 | }); |
| 257 | } |
| 258 | |
| 259 | /* === Internals === */ |
| 260 | /* === Helper === */ |
no test coverage detected