mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 08:30:25 +02:00
Debugger fixes
Removing some debugger remote-requests
This commit is contained in:
parent
c2d086fe8e
commit
a32d18d962
21 changed files with 198 additions and 638 deletions
|
@ -48,19 +48,17 @@ namespace System.IO
|
|||
return .Ok;
|
||||
}
|
||||
|
||||
public static Result<void> DelTree(StringView path)
|
||||
public static Result<void, Platform.BfpFileResult> DelTree(StringView path)
|
||||
{
|
||||
if (path.Length <= 2)
|
||||
return .Err;
|
||||
return .Err(.InvalidParameter);
|
||||
if ((path[0] != '/') && (path[0] != '\\'))
|
||||
{
|
||||
if (path[1] == ':')
|
||||
{
|
||||
if (path.Length < 3)
|
||||
return .Err;
|
||||
return .Err(.InvalidParameter);
|
||||
}
|
||||
else
|
||||
return .Err;
|
||||
}
|
||||
|
||||
for (var fileEntry in Directory.EnumerateDirectories(path))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue