Function gkfs::metadata::update_size(const std::string&, size_t, off_t, bool)
Defined in File metadentry.hpp
Function Documentation
-
off_t gkfs::metadata::update_size(const std::string &path, size_t io_size, off_t offset, bool append)
Updates a metadentry’s size atomically and returns the starting offset for the I/O operation.
- Parameters
path –
io_size –
offset –
append –
- Returns
starting offset for I/O operation