Class Metadata
Defined in File metadata.hpp
Class Documentation
-
class gkfs::metadata::Metadata
Public Functions
-
Metadata() = default
-
explicit Metadata(mode_t mode)
-
explicit Metadata(const std::string &binary_str)
-
std::string serialize() const
-
void update_atime_now()
-
void update_mtime_now()
-
time_t atime() const
-
void atime(time_t atime_)
-
time_t mtime() const
-
void mtime(time_t mtime_)
-
time_t ctime() const
-
void ctime(time_t ctime_)
-
mode_t mode() const
-
void mode(mode_t mode_)
-
nlink_t link_count() const
-
void link_count(nlink_t link_count_)
-
size_t size() const
-
void size(size_t size_)
-
blkcnt_t blocks() const
-
void blocks(blkcnt_t blocks_)
Private Functions
-
inline void init_time()
-
Metadata() = default