dirname
Dirname returns the directory portion of a file path.
Dirname returns the directory portion of a file path.
Input
string
Parameters
None
Returns
string
Examples
{{ file_path | dirname }}
{{ source_file | dirname }}How is this guide?
Dirname returns the directory portion of a file path.
Dirname returns the directory portion of a file path.
string
None
string
{{ file_path | dirname }}
{{ source_file | dirname }}How is this guide?