/// <summary> /// Gets a value indicating whether the specified directory exists. /// Unlike <see cref="DirectoryInfo.Exists"/>, this method follows symbolic links. /// </summary> /// <param name="this">The <see cref="DirectoryInfo"/> representing the current file.</param> /// <returns><see langword="true"/> if the directory exists on disk and is accessible, <see langword="false"/> otherwise.</returns> internal static bool ContentExists(this DirectoryInfo @this) { return(@this.AsDirEntry().FileType == Emet.FileSystems.FileType.Directory); }