get_directory_from_file_path
Gets the directory path from a given file path.
Arguments
Name | Type | Description | Required |
---|---|---|---|
path_to_file | string | The full path to the file. |
Returns
Type | Description |
---|---|
string | Path to the directory containing the file, or None if not applicable. |
Example
Last updated