blob: 776752aec07517efb8220b017daf661b9f1395fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* SPDX-License-Identifier: GPL-2.0 */
struct disk_space {
unsigned total_mb;
unsigned free_mb;
unsigned percent_free;
unsigned percent_free_inodes;
};
int get_disk_space(const char *path, struct disk_space *result);
void log_disk_space(struct disk_space *ds);
|