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

Method GetTotalSize

FastCopy/TaskFile.cpp:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74uint64_t TaskFile::GetTotalSize()
75{
76 return std::accumulate(
77 lines.begin(),
78 lines.end(),
79 0ull,
80 [](uint64_t result, std::wstring const& line)
81 {
82 return result + GetSizeOfPath(line);
83 }
84 );
85}
86
87int TaskFile::IndexOf(TaskFileIterator<typename std::vector<std::wstring>::iterator> const& iter)
88{

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected