From 77816d42ab4f15ea1406b31b831e93d99b43f41f Mon Sep 17 00:00:00 2001 From: neru Date: Thu, 7 May 2026 02:59:32 -0300 Subject: [PATCH] style: use constant naming --- src/lib/seallib/vfs.cpp | 4 ++-- src/lib/seallib/vfs.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/seallib/vfs.cpp b/src/lib/seallib/vfs.cpp index f9ea20c..82a241a 100644 --- a/src/lib/seallib/vfs.cpp +++ b/src/lib/seallib/vfs.cpp @@ -93,14 +93,14 @@ bool VirtualFileSystem::exists(const std::string& path) const return mount ? mount->provider->exists(relativePath) : false; } -VFSResult VirtualFileSystem::readFile(const std::string& path, FileBuffer& out_buffer) const +VFSResult VirtualFileSystem::readFile(const std::string& path, FileBuffer& outBuffer) const { std::shared_lock lock(_mutex); std::string relativePath; const MountPoint* mount = findBestMount(path, relativePath); if (!mount) return VFSResult::FileNotFound; - return mount->provider->readFile(relativePath, out_buffer); + return mount->provider->readFile(relativePath, outBuffer); } VFSResult VirtualFileSystem::writeFile(const std::string& path, const FileBuffer& buffer) diff --git a/src/lib/seallib/vfs.h b/src/lib/seallib/vfs.h index c71a3fc..fe2e47e 100644 --- a/src/lib/seallib/vfs.h +++ b/src/lib/seallib/vfs.h @@ -36,7 +36,7 @@ namespace seallib virtual bool exists(const std::string& path) const = 0; - virtual VFSResult readFile(const std::string& path, FileBuffer& out_buffer) const = 0; + virtual VFSResult readFile(const std::string& path, FileBuffer& outBuffer) const = 0; virtual VFSResult writeFile(const std::string& path, const FileBuffer& buffer) = 0; virtual VFSResult deleteFile(const std::string& path) = 0; @@ -65,7 +65,7 @@ namespace seallib void unmountAll(); bool exists(const std::string& path) const; - VFSResult readFile(const std::string& path, FileBuffer& out_buffer) const; + VFSResult readFile(const std::string& path, FileBuffer& outBuffer) const; VFSResult writeFile(const std::string& path, const FileBuffer& buffer); VFSResult deleteFile(const std::string& path);