diff --git a/include/dwarfs/file_stat.h b/include/dwarfs/file_stat.h index 160158b1..93b84970 100644 --- a/include/dwarfs/file_stat.h +++ b/include/dwarfs/file_stat.h @@ -132,6 +132,9 @@ class file_stat { static std::string perm_string(mode_type mode); static std::string mode_string(mode_type mode); + std::string perm_string() const { return perm_string(mode()); } + std::string mode_string() const { return mode_string(mode()); } + template void copy_to(T* out) const { copy_to_impl(out);