/// <summary> /// Extension method for ISystemIO which determines whether the given path is a symlink. /// </summary> /// <param name="systemIO">ISystemIO implementation</param> /// <param name="path">File or folder path</param> /// <returns>Whether the path is a symlink</returns> public static bool IsSymlink(this ISystemIO systemIO, string path) { return(systemIO.IsSymlink(path, systemIO.GetFileAttributes(path))); }