Get volume attributes in Darwin.

This commit is contained in:
2021-03-30 03:56:46 +01:00
parent 3827aae827
commit f6f02d70ff
4 changed files with 300 additions and 0 deletions

View File

@@ -175,4 +175,8 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
}
*clusterSize = buf.f_bsize;
#if defined(__APPLE__) && defined(__MACH__)
DarwinVolumeAttributes(path);
#endif
}