Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1a1a11a/libCacheSim
/ stat
Class
stat
libCacheSim-node/binding.cc:12–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
// Helper function to check if file exists
11
bool fileExists(const std::string& filename) {
12
struct stat buffer;
13
return (stat(filename.c_str(), &buffer) == 0);
14
}
15
Callers
1
fileExists
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected