FileInfo class | file.t[21]

File status information. This is returned from file.getFileInfo().

`class FileInfo : object`

Superclass Tree (in declaration order)

`FileInfo`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`fileAccessTime fileAttrs fileCreateTime fileLinkTarget fileModifyTime fileSize fileType isDir specialLink`

Summary of Methods

`construct`

Properties

`fileAccessTime` | `file.t[81]`

no description available

`fileAttrs` | `file.t[69]`

file attributes, as a combination of FileAttrXxx bit flags (see filename.h)

`fileCreateTime` | `file.t[79]`

The file's time of creation, last modification, and last access, as Date objects. On some systems, these timestamps might not all be available; an item that's not available is set to nil.

`fileLinkTarget` | `file.t[57]`

Link target. If the file is a symbolic link, this contains a string giving the target file's path. This is the direct target of this link, which might itself be another link.

`fileModifyTime` | `file.t[80]`

no description available

`fileSize` | `file.t[72]`

size of the file in bytes

`fileType` | `file.t[63]`

type of the file, as a combination of FileTypeXxx bit flags (see filename.h)

`isDir` | `file.t[38]`

is this file a directory?

`specialLink` | `file.t[50]`

Is this a special link directory? This is FileTypeSelfLink for a directory link to itself; it's FileTypeParentLink for a directory link to the parent; it's zero for all other files. On Windows and Unix, these flags will be set for the special "." and ".." directories, respectively. These flags only apply to the *system-defined* special links; they aren't set for user-created links that happen to point to self or parent. This is zero for all other files.

Methods

`construct (typ, siz, ctime, mtime, atime, target, attrs, ...)` | `file.t[22]`

no description available

Adv3Lite Library Reference Manual
Generated on 03/07/2024 from adv3Lite version 2.1