Function
Arg | Description | Type |
---|---|---|
path | Extract directory name of path | Any (required) |
sep | Separator to use (default /) | string |
path_type | Type of path (e.g. windows, linux) | string |
Return the directory path.
dirname(path="/usr/bin/ls") -> "/usr/bin"
Related: basename()