format
typescript
PathManager.CalculateRelativeProjectPath(abs_path)class: PathManager
description
Converts the given path to a relative path based on the project directory.
If the given path does not share the same root as the project path, the given path is returned.
parameter
| param_name | type | description |
|---|---|---|
| abs_path | string | The absolute path. |
return
| type | description |
|---|---|
string|undefined | The path relative to the project directory. |
