mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 00:50:25 +02:00
Added a bunch more comptime platform file & directory methods
This commit is contained in:
parent
adf282dfa7
commit
af8bd5a813
4 changed files with 449 additions and 9 deletions
|
@ -132,11 +132,9 @@ namespace System.IO
|
|||
return (IEnumerator<Result<String>>)null;
|
||||
}*/
|
||||
|
||||
static extern bool Exists(char8* fileName);
|
||||
|
||||
public static bool Exists(StringView fileName)
|
||||
{
|
||||
return Exists(fileName.ToScopeCStr!());
|
||||
return Platform.BfpFile_Exists(fileName.ToScopeCStr!());
|
||||
}
|
||||
|
||||
public static Result<void, Platform.BfpFileResult> Delete(StringView fileName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue