```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
12 lines
222 B
C
12 lines
222 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
#include "modules/memory/option.h"
|
|
|
|
typedef struct FFMemoryResult {
|
|
uint64_t bytesUsed;
|
|
uint64_t bytesTotal;
|
|
} FFMemoryResult;
|
|
|
|
const char* ffDetectMemory(FFMemoryResult* ram);
|