mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 05:56:58 +01:00
Use / instead of @
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user