Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ GetFileSize
Function
GetFileSize
src/util/system.cpp:168–172 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
166
}
167
168
std::streampos GetFileSize(const char* path, std::streamsize max) {
169
std::ifstream file{path, std::ios::binary};
170
file.ignore(max);
171
return file.gcount();
172
}
173
174
/**
175
* Interpret a string argument as a boolean.
Callers
1
gotoLoadPSBT
Method · 0.50
Calls
1
ignore
Method · 0.45
Tested by
no test coverage detected