How to get (used / available / full) disk space with boost or poco?

How to get (used, accessible, shared) space with a disk / directory with boost or poco? Thanks!

+4
source share
1 answer

boost :: filesystem :: space seems to be what you want.

It returns a space_info object, which is a simple structure containing data (one of them is available for your application and full free space).

+5
source

Source: https://habr.com/ru/post/1396030/


All Articles