even cooler stuff for file attributes

This commit is contained in:
⍚~Nex
2024-06-18 04:54:59 +02:00
parent a6c5b4d6e8
commit 6715e2b1cc
5 changed files with 85 additions and 73 deletions
@@ -157,7 +157,7 @@ class Windows {
@:functionCode('
return GetFileAttributes(path);
')
public static function getFileAttribute(path:String):FileAttribute
public static function getFileAttributes(path:String):FileAttribute
{
return NORMAL;
}
@@ -165,7 +165,7 @@ class Windows {
@:functionCode('
return SetFileAttributes(path, attrib);
')
public static function setFileAttribute(path:String, attrib:FileAttribute):Int
public static function setFileAttributes(path:String, attrib:FileAttribute):Int
{
return 0;
}