ensureImageDirectory

Ensures the target image directory exists, creating it if it does not and returning false if it fails to.

bool
ensureImageDirectory
(
const string targetDirectory
)

Parameters

targetDirectory string

Target directory to ensure existence of.

Return Value

Type: bool

true if the directory already exists or if it was succesfully created; false if it could not be.

Meta