From 459708c0fa532a736a4bdc0dad0080e0b2312201 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Mon, 30 Oct 2017 15:27:34 -0400 Subject: [PATCH] Add documentation --- TGServerService/Program.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TGServerService/Program.cs b/TGServerService/Program.cs index 1fc9a14285..fea0b5ef0e 100644 --- a/TGServerService/Program.cs +++ b/TGServerService/Program.cs @@ -53,6 +53,12 @@ namespace TGServerService } } + + /// + /// Properly unlinks directory if it is a symlink + /// + /// for the directory in question + /// if was a symlink and deleted, otherwise static bool CheckDeleteSymlinkDir(DirectoryInfo di) { if (!di.Attributes.HasFlag(FileAttributes.Directory))