dirname path
None
Description
Returns parent directory's path.
Parameters
path |
Target path. On Windows, both slash (/) and backslash (\) are used as directory separator character. In other environments, it is the forward slash(/). |
Return Value
String: The path of the parent directory. If there are no slashes in path, a dot ('.') is returned, indicating the current directory. Use libcox_value_to_string() to extract the processing result.