Use / instead of @

This commit is contained in:
Cyberboss
2017-09-21 12:19:47 -04:00
parent 9f8e829b00
commit 2331135860
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ namespace TGServerService
foreach (var I in dirToEnum.GetFiles())
result.Add(I.Name);
foreach (var I in dirToEnum.GetDirectories())
result.Add("@" + I.Name);
result.Add('/' + I.Name);
error = null;
return result;
}
+1 -1
View File
@@ -20,7 +20,7 @@ namespace TGServiceInterface
/// <summary>
/// Returns the file contents of the specified server directory
/// Subdirectories will be prefixed with '@'
/// Subdirectories will be prefixed with '/'
/// </summary>
/// <param name="subpath">Subdirectory to enumerate, enumerates the root directory if null</param>
/// <param name="error">null on success, error message on failure</param>