mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Temporary fix for compilation errors
--HG-- branch : dev
This commit is contained in:
@@ -154,15 +154,16 @@ namespace Orchard.Azure {
|
||||
}
|
||||
}
|
||||
|
||||
public void TryCreateFolder(string path) {
|
||||
public bool TryCreateFolder(string path) {
|
||||
EnsurePathIsRelative(path);
|
||||
using (new HttpContextWeaver()) {
|
||||
if (Container.DirectoryExists(String.Concat(_root, path))) {
|
||||
return;
|
||||
return true;
|
||||
}
|
||||
|
||||
CreateFile(Combine(path, FolderEntry));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public void CreateFolder(string path) {
|
||||
|
||||
@@ -10,5 +10,14 @@ namespace Orchard.Azure.FileSystems.Media {
|
||||
}
|
||||
|
||||
public AzureBlobStorageProvider(ShellSettings shellSettings, CloudStorageAccount storageAccount) : base("media", shellSettings.Name, false, storageAccount) { }
|
||||
|
||||
|
||||
public bool TrySaveStream(string path, System.IO.Stream inputStream) {
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void SaveStream(string path, System.IO.Stream inputStream) {
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user