/// <summary> /// Collapses a <see cref="FilePath"/> containing ellipses. /// </summary> /// <returns>A collapsed <see cref="FilePath"/>.</returns> public FilePath Collapse() { return(new FilePath(PathCollapser.Collapse(this))); }