Function gkfs::utils::metadata_to_stat

Function Documentation

int gkfs::utils::metadata_to_stat(const std::string &path, const gkfs::metadata::Metadata &md, struct stat &attr)

Converts the Metadata object into a stat struct, which is needed by Linux

Parameters
  • path

  • md

  • attr

Returns