Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ stat
Class
stat
source/core/StarFile_unix.cpp:149–149 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
147
148
bool File::exists(String const& path) {
149
struct stat st_buf;
150
int status = stat(path.utf8Ptr(), &st_buf);
151
return status == 0;
152
}
Callers
4
exists
Method · 0.70
isFile
Method · 0.70
isDirectory
Method · 0.70
statPositive
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected