From 47e41c5e1247d5230a8f6627f4923b8da3e10c20 Mon Sep 17 00:00:00 2001 From: Matthew McEachen Date: Sun, 10 Nov 2024 09:52:43 -0800 Subject: [PATCH] fix casing error in linux native code --- src/linux/fs_meta.cpp | 2 +- src/linux/fs_meta.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linux/fs_meta.cpp b/src/linux/fs_meta.cpp index 41a4bed..4e7b10f 100644 --- a/src/linux/fs_meta.cpp +++ b/src/linux/fs_meta.cpp @@ -129,7 +129,7 @@ void GetVolumeMetadataWorker::Execute() { metadata.size = blockSize * vfs.f_blocks; metadata.available = blockSize * vfs.f_bavail; metadata.used = metadata.size - (blockSize * vfs.f_bfree); - metadata.filesystem = fstype; + metadata.fileSystem = fstype; // Check if it's a remote filesystem metadata.remote = isNetworkFileSystem(fstype.c_str()); diff --git a/src/linux/fs_meta.h b/src/linux/fs_meta.h index 1075665..375f7fd 100644 --- a/src/linux/fs_meta.h +++ b/src/linux/fs_meta.h @@ -14,7 +14,7 @@ class GetVolumeMetadataWorker : public Napi::AsyncWorker { private: struct VolumeMetadata { - std::string filesystem; + std::string fileSystem; std::string label; std::string uuid; std::string remoteHost;