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

Method getSourcePath

lib/specifications/Project.js:86–88  ·  view source on GitHub ↗

* Get the path of the project's source directory. This might not be POSIX-style on some platforms. * Projects with multiple source paths will throw an error. For example Modules. * * @public * @returns {string} Absolute path to the source directory of the project * @throws {Error} In case

()

Source from the content-addressed store, hash-verified

84 * @throws {Error} In case a project has multiple source directories
85 */
86 getSourcePath() {
87 throw new Error(`getSourcePath must be implemented by subclass ${this.constructor.name}`);
88 }
89
90 /**
91 * Get the project's framework name configuration

Callers 4

ThemeLibrary.jsFile · 0.45
Application.jsFile · 0.45
Module.jsFile · 0.45
Library.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected