MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / GetSizeOfPath

Method GetSizeOfPath

FastCopy/TaskFile.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30uint64_t TaskFile::GetSizeOfPath(std::wstring_view path)
31{
32 return std::filesystem::is_directory(path) ?
33 getFileSizeInFolder(path) : std::filesystem::file_size(path);
34}
35
36int32_t TaskFile::GetNumFiles()
37{

Callers

nothing calls this directly

Calls 1

getFileSizeInFolderFunction · 0.85

Tested by

no test coverage detected