Add documentation

This commit is contained in:
Jordan Brown
2017-10-30 15:27:34 -04:00
committed by GitHub
parent 3c3128cb85
commit 459708c0fa
+6
View File
@@ -53,6 +53,12 @@ namespace TGServerService
}
}
/// <summary>
/// Properly unlinks directory <paramref name="di"/> if it is a symlink
/// </summary>
/// <param name="di"><see cref="DirectoryInfo"/> for the directory in question</param>
/// <returns><see langword="true"/> if <paramref name="di"/> was a symlink and deleted, <see langword="false"/> otherwise</returns>
static bool CheckDeleteSymlinkDir(DirectoryInfo di)
{
if (!di.Attributes.HasFlag(FileAttributes.Directory))