scclib
Stable Cloud Computing C++ Library
Public Attributes | List of all members
scc::util::FileStat Struct Reference

File status structure. More...

#include <fs.h>

Public Attributes

FileType type
 File type.
 
unsigned mode
 File mode 07777 format (bits/user/group/all 4=read, 2=write, 3=execute, or uid/gid/sticky)
 
int uid
 User id.
 
int gid
 Group id.
 
uint64_t size
 Size of file.
 
uint64_t alloc_size
 Real allocated size on disk.
 
uint64_t access_time
 Last access time; reads, etc. (ns since epoch)
 
uint64_t mod_time
 Last modification time; writes, etc. (ns since epoch)
 
uint64_t change_time
 Last status change time; writes, permission changes, etc. (ns since epoch)
 
uint64_t inode
 Inode number.
 
uint16_t num_links
 Number of hard links to this inode.
 

Detailed Description

File status structure.

Timestamps are in seconds since Epoch (1 January 1970 GMT).

Definition at line 74 of file fs.h.


The documentation for this struct was generated from the following file: