@@ -1584,6 +1584,10 @@ public class OSSService(IOptionsMonitor<ObjectStoreServiceOptions> options,
|
||||
/// <returns></returns>
|
||||
public async Task DeleteFromPrefix(string prefix, bool isCache = false)
|
||||
{
|
||||
if (prefix.StartsWith("/"))
|
||||
{
|
||||
prefix = prefix.TrimStart("/");
|
||||
}
|
||||
|
||||
//打开了同步的,删除的时候,一起删除
|
||||
if (ObjectStoreServiceOptions.IsOpenStoreSync && ObjectStoreServiceOptions.SyncConfigList.Any(t => t.IsOpenSync))
|
||||
|
||||
Reference in New Issue
Block a user