public static function formatAndResolveDirectory($pathOrPaths, ...$additionalPaths)
    {
        $directory = self::formatAndResolvePath($pathOrPaths, ...$additionalPaths);

        if ($directory) {
            $directory = rtrim($directory, "/") . "/";
        }

        return $directory;
    }