Filesystem-related utilities. Only work on sys targets and/or nodejs depending on the methods
Static methods
staticsetToSameLastModified(srcFilePath:String, dstFilePath:String):Void
Only works in nodejs for now.
staticgetFlatDirectory(dir:String, excludeSystemFiles:Bool = true, subCall:Bool = false, recursive:Bool = true):Array<String>
staticgetLastModified(path:String):Float
Get file last modified time (in seconds) or -1
if not available
Parameters:
path |
---|
Returns:
Float