File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ private:
131
131
in {
132
132
assert (topdir.length);
133
133
}
134
- body {
134
+ do {
135
135
string trashDir = buildPath(topdir, " .Trash" );
136
136
stat_t trashStat;
137
137
enforce(lstat(trashDir.toStringz, &trashStat) == 0 , " Top trash directory does not exist" );
@@ -666,7 +666,7 @@ version(Windows) private
666
666
in {
667
667
assert (folder);
668
668
}
669
- body {
669
+ do {
670
670
enforce(pidl ! is null , " Empty trashcan item, can't run a delete operation" );
671
671
IShellItem item = CreateShellItem(folder, pidl);
672
672
scope (exit) item.Release();
@@ -683,7 +683,7 @@ version(Windows) private
683
683
in {
684
684
assert (folder);
685
685
}
686
- body {
686
+ do {
687
687
enforce(pidl ! is null , " Empty trashcan item, can't run a restore operation" );
688
688
689
689
import std.utf ;
You can’t perform that action at this time.
0 commit comments