/// <summary> /// Collapses a <see cref="DirectoryPath"/> containing ellipses. /// </summary> /// <returns>A collapsed <see cref="DirectoryPath"/>.</returns> public DirectoryPath Collapse() { return(new DirectoryPath(PathCollapser.Collapse(this))); }
/// <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))); }