class FileDiagnostics
package digigun.sys.fs
Advanced file system diagnostics and permission management.
Static methods
staticchmod(path:String, mode:Int):Bool
Changes the permissions (mode) of a file or directory. On Windows, this is a best-effort mapping (Write bit toggles READONLY attribute).
Parameters:
path | The filesystem path. |
|---|---|
mode | Bitmask of FilePermission values. |
Returns:
True if successful.
staticstat(path:String):NativeFileStat
Retrieves detailed 64-bit statistics for the given path.
Parameters:
path | The filesystem path. |
|---|
Returns:
NativeFileStat or null if the path does not exist or an error occurred.