aboutsummaryrefslogtreecommitdiff
path: root/back-end/src/Storage/StorageBase.cs
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-08-31 22:17:50 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-08-31 22:17:50 -0400
commitd66290269d4709fe2d909284801f31669aa26f74 (patch)
treefcc7151652c880f60f5020c4069901439b6b6a8f /back-end/src/Storage/StorageBase.cs
parentafdeeb686f3aa022bec19084a337e233c622b4e3 (diff)
pre tag updates
Diffstat (limited to 'back-end/src/Storage/StorageBase.cs')
-rw-r--r--back-end/src/Storage/StorageBase.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/back-end/src/Storage/StorageBase.cs b/back-end/src/Storage/StorageBase.cs
index b33d6f1..fe11c39 100644
--- a/back-end/src/Storage/StorageBase.cs
+++ b/back-end/src/Storage/StorageBase.cs
@@ -23,13 +23,13 @@ using System.IO;
using System.Threading;
using System.Threading.Tasks;
-using VNLib.Net.Http;
using VNLib.Plugins;
+using VNLib.Utils.IO;
using VNLib.Plugins.Extensions.Loading;
namespace Content.Publishing.Blog.Admin.Storage
{
- internal abstract class StorageBase : IAsyncConfigurable, IStorageFacade
+ internal abstract class StorageBase : IAsyncConfigurable, ISimpleFilesystem
{
/// <summary>
/// The base file path within the remote file system to use for external urls
@@ -46,7 +46,7 @@ namespace Content.Publishing.Blog.Admin.Storage
public abstract Task<long> ReadFileAsync(string filePath, Stream output, CancellationToken cancellation);
///<inheritdoc/>
- public abstract Task SetFileAsync(string filePath, Stream data, ContentType ct, CancellationToken cancellation);
+ public abstract Task WriteFileAsync(string filePath, Stream data, string ct, CancellationToken cancellation);
///<inheritdoc/>
public virtual string GetExternalFilePath(string filePath)