mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
Add documentation
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user