ensure_directory_exists


Description:

public static bool ensure_directory_exists (File dir)

Ensure the directory exists, by creating it if it does not.

Parameters:

dir

the directory in question

Returns:

`true` is the directory exists, `false` if it does not