FileStats¶
Import: import system.io;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
FileStats¶
File size, timestamps, mode, and entry kind returned by File.stat. Timestamps use UTC epoch milliseconds. File.stat follows symbolic links.
size¶
File size in bytes.
mtime_millis¶
Last modification time in UTC epoch milliseconds.
ctime_millis¶
Last metadata-change time in UTC epoch milliseconds.
atime_millis¶
Last access time in UTC epoch milliseconds.
mode¶
Unix file mode, or zero on platforms without Unix modes.
kind¶
The kind of filesystem entry.
is_file¶
Returns whether the entry is a regular file.
is_dir¶
Returns whether the path refers to a directory.
is_symlink¶
Returns whether the entry is a symbolic link.