Awee

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?

On this page