Go to repository

Function getProjectRootPath

Returns the current project's root path by attempting to identify it. If it cannot be identified, it returns the current working directory as the project's root path.

Parameters

  • os: OSType

    The OS that is currently discovered as environment.

Returns string

The project's root path.