Don't allow new folder / deletes in archives
parent
41d1ff4c5b
commit
2e792b74aa
|
@ -452,6 +452,9 @@
|
||||||
|
|
||||||
async Task AddFolder(string name)
|
async Task AddFolder(string name)
|
||||||
{
|
{
|
||||||
|
if (Source == FileManagerSource.Archive)
|
||||||
|
throw new NotImplementedException();
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(System.IO.Path.Combine(Path.Path, name));
|
Directory.CreateDirectory(System.IO.Path.Combine(Path.Path, name));
|
||||||
|
@ -468,6 +471,9 @@
|
||||||
|
|
||||||
async Task Delete()
|
async Task Delete()
|
||||||
{
|
{
|
||||||
|
if (Source == FileManagerSource.Archive)
|
||||||
|
throw new NotImplementedException();
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
foreach (var entry in Selected)
|
foreach (var entry in Selected)
|
||||||
|
|
Loading…
Reference in New Issue