|
libfossil
|
A simple wrapper around the stat(2) structure resp. More...
#include "util.h"
Data Fields | |
| fsl_time_t | ctime |
| The time of the last file metadata change (owner, permissions, etc.). | |
| fsl_time_t | mtime |
| Last modification time. | |
| int | perm |
| Contains the filesystem entry's permissions as a bitmask of fsl_fstat_perm_e values. | |
| fsl_size_t | size |
| The size of the stat'd file, in bytes. | |
| fsl_fstat_type_e | type |
| Indicates the type of filesystem object. | |
A simple wrapper around the stat(2) structure resp.
_stat/_wstat (on Windows). It exposes only the aspects of stat(2) info which Fossil works with, and not any platform-/filesystem-specific details except the executable bit for the permissions mode and some handling of symlinks.
| fsl_time_t fsl_fstat::ctime |
| fsl_time_t fsl_fstat::mtime |
| int fsl_fstat::perm |
Contains the filesystem entry's permissions as a bitmask of fsl_fstat_perm_e values.
Note that only the executable bit for files (not directories) is exposed here.
| fsl_size_t fsl_fstat::size |
| fsl_fstat_type_e fsl_fstat::type |