def format_directory_path(path: str) -> str:
    """Replaces windows style path seperators to forward-slashes and adds
    another slash to the end of the string.
    """
    if path == ".":
        return path
    formatted_path = path.replace('\\', '/')
    if formatted_path[-1] is not '/':
        formatted_path += '/'
    return formatted_path