
12 Sep
2005
12 Sep
'05
6:48 p.m.
I'm planning to add a filesystem function to determine available disk space. Perhaps something like:
struct space_status { boost::uintmax_t available; // free space available to user boost::uintmax_t total; // total space on volume };
space_status filesystem_space( const path & p );
Comments?
Better suggestions for the names?
I think the word "status" in space_status is misleading since available/total space is not really a status. Maybe space_stats or simply space would be more appropriate? -delfin