removeDirectory
Removes the directory at the given path from the repository. If recursive
is true it removes also the contents, otherwise the directory must be empty.
Removes the directory at the given path from the repository. If recursive
is true it removes also the contents, otherwise the directory must be empty.