file_info(path, @optional chase) 

Return a file-information record.

A file-information record is returned that contains the file's type, the device number, the inode number, the mode (permission bits), the number of links, the file's user id, the file's group id, the file's size in bytes, the times of last-access, last-modification and last-change, the attributes, and the creation time.

When chase is false (the default), symbolic links will not be chased, in other words if path refers to a symbolic link the file-info procedure will return information about the link rather than the file it links to.

Also see:


Core Module Index | Main Index