@classmethod<EOL><INDENT>def _create_directory(cls, directory, loop=False):<DEDENT>
if not loop and PyFunceble.directory_separator in directory:<EOL><INDENT>splited_directory = directory.split(PyFunceble.directory_separator)<EOL>full_path_to_create = "<STR_LIT>"<EOL>for single_directory in splited_directory:<EOL><INDENT>full_path_to_create += single_directory + PyFunceble.directory_separator<EOL>cls._create_directory(full_path_to_create, True)<EOL><DEDENT><DEDENT>if not PyFunceble.path.isdir(directory):<EOL><INDENT>AutoSave.travis_permissions()<EOL>PyFunceble.mkdir(directory)<EOL>AutoSave.travis_permissions()<EOL><DEDENT>
Creates the given directory if it does not exists.

:param directory: The directory to create.
:type directory: str

:param loop: Tell us if we are in the creation loop or not.
:type loop: bool