io/native/FileWin32

FindFirstFile(String, FindData *)Handle
FindNextFile(Handle, FindData *)Bool
FindClose(Handle)
GetFileAttributes(String)Long
CreateDirectory(String, Pointer)Bool
_remove(path: String)Int
cover FindData
from:WIN32_FIND_DATA
class FileWin32
extends:File
static method new~win32(path: String)FileWin32
method init~win32(path: String)
method existsBool
@return true if the file exists and can be opened for reading
method findSingle(ffdPtr: FindData *)
method findFirst(ffdPtr: FindData *)Handle
method isDirBool
@return true if it’s a directory
method isFileBool
@return true if it’s a file (ie. not a directory nor a symbolic link)
@return true if the file is a symbolic link
method sizeLLong
@return the size of the file, in bytes
method ownerPermInt
@return the permissions for the owner of this file
method groupPermInt
@return the permissions for the group of this file
method otherPermInt
@return the permissions for the others (not owner, not group)
method mkdir~withMode(mode: Int32)Int
method lastAccessedLong
@return the time of last access
method lastModifiedLong
@return the time of last modification
method createdLong
@return the time of creation
method isRelativeBool
@return true if the function is relative to the current directory
method getAbsolutePathString
The absolute path, e.g. “my/dir” => “/current/directory/my/dir”
method getChildrenNamesArrayList<T>
List the name of the children of this path Works only on directories, obviously
method getChildrenArrayList<T>
List the children of this path Works only on directories, obviously
FILE_ATTRIBUTE_DIRECTORYLong
FILE_ATTRIBUTE_NORMALLong
FILE_ATTRIBUTE_REPARSE_POINTLong

This Page