Validates a panel path rooted below the project's panels directory.
More...
Validates a panel path rooted below the project's panels directory.
- Attention
- This documentation is created with the help of an artificial intelligence.
◆ isSafePanelPath()
| public bool SplashCliValidation::isSafePanelPath |
( |
const string |
path | ) |
|
Checks a relative .pnl path; one leading slash is optional.
- Parameters
-
| path | Panel path relative to the panels directory. |
- Returns
- true when the path is safe and names a panel file.
◆ isSafeTestScriptPath()
| public bool SplashCliValidation::isSafeTestScriptPath |
( |
const string |
path | ) |
|
Checks a test script path rooted below scripts/tests.
- Parameters
-
| path | Project-relative path to a generated CTRL test script. |
- Returns
- true when the path is safe and names a nested .ctl file.
The documentation for this class was generated from the following file: