This wiki is out of date, use the continuation of this wiki instead

Fileinfo

From FenixWiki

Revision as of 13:09, 4 November 2007 by Sandman (Talk | contribs)
Jump to: navigation, search


Definition

Struct Fileinfo

Fileinfo is a global variable struct, containing information about a file/directory entry, returned by glob().

Members

Member name - Description
STRING path - The path to the file/directory.
STRING name - The name of the file/directory.
INT directory - true/false: whether the file/directory is a directory or not
INT hidden - true/false: whether the file is hidden or not
INT readonly - true/false: whether the file is read only or not
INT size - The size of the file/directory.
STRING created - The date when the file/directory was created.
STRING modified - The date when the file/directory was last modified.

Notes

The string path doesn't contain the name of the file/directory.

The strings created and modified are in the format: DD/MM/YYYY hh:mm

Personal tools