From fc76fa28309a0651727b452934fe6cb8eeaf90a8 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Mon, 23 Jul 2018 12:15:28 -0400 Subject: [PATCH] Adds skeleton SynchronousIOManager implementation --- .../Core/SynchronousIOManager.cs | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/Tgstation.Server.Host/Core/SynchronousIOManager.cs diff --git a/src/Tgstation.Server.Host/Core/SynchronousIOManager.cs b/src/Tgstation.Server.Host/Core/SynchronousIOManager.cs new file mode 100644 index 0000000000..9dc1152890 --- /dev/null +++ b/src/Tgstation.Server.Host/Core/SynchronousIOManager.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Threading; + +namespace Tgstation.Server.Host.Core +{ + /// + sealed class SynchronousIOManager : ISynchronousIOManager + { + /// + public IEnumerable GetDirectories(string path, CancellationToken cancellationToken) + { + throw new NotImplementedException(); + } + + /// + public IEnumerable GetFiles(string path, CancellationToken cancellationToken) + { + throw new NotImplementedException(); + } + + /// + public byte[] ReadFile(string path, CancellationToken cancellationToken) + { + throw new NotImplementedException(); + } + + /// + public bool WriteFileChecked(string path, byte[] data, string previousSha1, CancellationToken cancellationToken) + { + throw new NotImplementedException(); + } + } +}