Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorverhoek <30193551+verhoek@users.noreply.github.com>2018-11-02 23:34:07 +0300
committerverhoek <30193551+verhoek@users.noreply.github.com>2018-11-02 23:34:07 +0300
commitb2cc18426c5297a3da4cf1164a846091d1f9f457 (patch)
tree99fb7bc58c2d2e392d392e5b76fad4775359eff8 /Duplicati/Server/WebServer/RESTMethods/Acknowledgements.cs
parent6755d8cd1c94d7c01875e9b04a532e74ea577258 (diff)
Renamed Library.IO to Library.Common.IO.
Moved basic Platform functions to Library.Common.Platform. Turned IO_OS into property within Library.Common.
Diffstat (limited to 'Duplicati/Server/WebServer/RESTMethods/Acknowledgements.cs')
-rw-r--r--Duplicati/Server/WebServer/RESTMethods/Acknowledgements.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Duplicati/Server/WebServer/RESTMethods/Acknowledgements.cs b/Duplicati/Server/WebServer/RESTMethods/Acknowledgements.cs
index 2183fd4e1..6ca1bd459 100644
--- a/Duplicati/Server/WebServer/RESTMethods/Acknowledgements.cs
+++ b/Duplicati/Server/WebServer/RESTMethods/Acknowledgements.cs
@@ -16,7 +16,7 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using System;
using System.Collections.Generic;
-using Duplicati.Library.IO;
+using Duplicati.Library.Common.IO;
using Duplicati.Library.Utility;
namespace Duplicati.Server.WebServer.RESTMethods
@@ -31,7 +31,7 @@ namespace Duplicati.Server.WebServer.RESTMethods
public void GET(string key, RequestInfo info)
{
- var path = SystemIO.IO_OS(Utility.IsClientWindows).PathCombine(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "acknowledgements.txt");
+ var path = SystemIO.IO_OS.PathCombine(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "acknowledgements.txt");
info.OutputOK(new GetResponse() {
Status = "OK",
Acknowledgements = System.IO.File.ReadAllText(path)