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

Method getNamespace

lib/specifications/Project.js:51–55  ·  view source on GitHub ↗

* Get the project namespace. Returns `null` for projects that have none or multiple namespaces, * for example Modules or Theme Libraries. * * @public * @returns {string|null} Project namespace in slash notation (e.g. my/project/name ) or null

()

Source from the content-addressed store, hash-verified

49 * @returns {string|null} Project namespace in slash notation (e.g. <code>my/project/name</code>) or null
50 */
51 getNamespace() {
52 // Default namespace for general Projects:
53 // Their resources should be structured with globally unique paths, hence their namespace is undefined
54 return null;
55 }
56
57 /**
58 * Check whether the project is a UI5-Framework project

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