maintenance

This commit is contained in:
2025-12-05 09:22:45 -05:00
parent ebb7628498
commit 5c5f4d7d8f
4 changed files with 4 additions and 14 deletions

View File

@@ -176,18 +176,6 @@ bool Utility::fmod(double dividend, double divisor)
return std::fabs(remainder) < epsilon;
}
// inline
// size_t Utility::getAvailableDiskSpace(const String& path)
// {
// struct statvfs stat;
// if (::statvfs(path, &stat) != 0)
// {
// throw new Exception("Error calling statvfs to get available disk space.");
// }
// // Calculate available space in bytes. Multiply Number of free inodes * Fragment size
// return (size_t)stat.f_bavail * stat.f_frsize;
// }
inline
size_t Utility::getAvailableDiskSpace(const String& path)
{