You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
94
94
-[SIL.Core.Desktop] Implemented GetDefaultProgramForFileType (as trenamed) in a way that works on Windows 11, Mono (probably) and MacOS (untested).
95
95
-[SIL.Media] MediaInfo.HaveNecessaryComponents properly returns true if FFprobe is on the system path.
96
96
-[SIL.Media] Made MediaInfo.FFprobeFolder look for and return the folder when first accessed, even if no prior call to the setter or other action had caused it t be found.
97
+
-[SIL.Core] Made GetSafeDirectories not crash and simply not return any subdirectory the user does not have permission to access.
98
+
-[SIL.Core] In GetDirectoryDistributedWithApplication, prevented a failure in accessing one of the specified subfolders from allowing it to try the others.
/// Return subdirectories of <paramref name="path"/> that are not system or hidden.
112
+
/// Subdirectories which the user does not have permission to access will also be skipped.
109
113
/// There are some cases where our call to Directory.GetDirectories() throws.
110
114
/// For example, when the access permissions on a folder are set so that it can't be read.
111
115
/// Another possible example may be Windows Backup files, which apparently look like directories.
112
116
/// </summary>
113
117
/// <param name="path">Directory path to look in.</param>
114
-
/// <returns>Zero or more directory names that are not system or hidden.</returns>
115
-
/// <exception cref="UnauthorizedAccessException">E.g. when the user does not have
116
-
/// read permission.</exception>
118
+
/// <returns>Zero or more directory names that are not system or hidden</returns>
119
+
/// <exception cref="UnauthorizedAccessException">The caller does not have the required
120
+
/// permission to access the subdirectories of <paramref name="path"/>.</exception>
121
+
/// <exception cref="ArgumentException">
122
+
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
123
+
/// <exception cref="ArgumentNullException">
124
+
/// <paramref name="path" /> is <see langword="null" />.</exception>
0 commit comments