1#pragma once
2
3#include "fastfetch.h"
4#include "modules/zpool/option.h"
5
6typedef struct FFZpoolResult {
7 FFstrbuf name;
8 FFstrbuf state;
9 uint64_t guid;
10 uint64_t used;
11 uint64_t total;
12 uint64_t allocated;
13 double fragmentation;
14 bool readOnly;
15} FFZpoolResult;
16
17const char* ffDetectZpool(FFlist* result /* list of FFZpoolResult */);