Directory

package cs.system.io

Available on cs

Static methods

staticCreateDirectory(path:String):DirectoryInfo

staticCreateDirectory(path:String, directorySecurity:DirectorySecurity):DirectoryInfo

staticDelete(path:String):Void

staticDelete(path:String, recursive:Bool):Void

staticExists(path:String):Bool

staticGetAccessControl(path:String, includeSections:AccessControlSections):DirectorySecurity

staticGetAccessControl(path:String):DirectorySecurity

staticGetCreationTime(path:String):DateTime

staticGetCreationTimeUtc(path:String):DateTime

staticGetCurrentDirectory():String

staticGetDirectories(path:String):NativeArray<String>

staticGetDirectories(path:String, searchPattern:String, searchOption:SearchOption):NativeArray<String>

staticGetDirectories(path:String, searchPattern:String):NativeArray<String>

staticGetDirectoryRoot(path:String):String

staticGetFileSystemEntries(path:String):NativeArray<String>

staticGetFileSystemEntries(path:String, searchPattern:String):NativeArray<String>

staticGetFiles(path:String):NativeArray<String>

staticGetFiles(path:String, searchPattern:String, searchOption:SearchOption):NativeArray<String>

staticGetFiles(path:String, searchPattern:String):NativeArray<String>

staticGetLastAccessTime(path:String):DateTime

staticGetLastAccessTimeUtc(path:String):DateTime

staticGetLastWriteTime(path:String):DateTime

staticGetLastWriteTimeUtc(path:String):DateTime

staticGetLogicalDrives():NativeArray<String>

staticGetParent(path:String):DirectoryInfo

staticMove(sourceDirName:String, destDirName:String):Void

staticSetAccessControl(path:String, directorySecurity:DirectorySecurity):Void

staticSetCreationTime(path:String, creationTime:DateTime):Void

staticSetCreationTimeUtc(path:String, creationTimeUtc:DateTime):Void

staticSetCurrentDirectory(path:String):Void

staticSetLastAccessTime(path:String, lastAccessTime:DateTime):Void

staticSetLastAccessTimeUtc(path:String, lastAccessTimeUtc:DateTime):Void

staticSetLastWriteTime(path:String, lastWriteTime:DateTime):Void

staticSetLastWriteTimeUtc(path:String, lastWriteTimeUtc:DateTime):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/io/Directory.html