Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NPP-JSONViewer/JSON-Viewer
/ FileSize
Method
FileSize
src/UtilityLib/Utility.cpp:135–139 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
133
}
134
135
long CUtility::FileSize(const std::wstring& filePath)
136
{
137
auto r = std::filesystem::file_size(filePath);
138
return static_cast<long>(r);
139
}
140
141
bool CUtility::CreateDir(const std::wstring& dirPath)
142
{
Callers
1
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64