|
|
@ -32,7 +32,10 @@ namespace CoviDok.Data.StorageProviders |
|
|
|
|
|
|
|
public async Task<bool> NamespaceExists(string ns) |
|
|
|
{ |
|
|
|
return await Client.BucketExistsAsync(ns); |
|
|
|
Console.WriteLine("MinioProvider:NamespaceExists - Checking " + ns); |
|
|
|
bool exists = await Client.BucketExistsAsync(ns); |
|
|
|
Console.WriteLine("MinioProvider:NamespaceExists - " + ns + " exists" ); |
|
|
|
return exists; |
|
|
|
} |
|
|
|
|
|
|
|
public async Task Upload(string ns, string objectname, Stream data, long size) |
|
|
|