MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / estimateFilesTokens

Method estimateFilesTokens

context/TokenUtils.cpp:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78int TokenUtils::estimateFilesTokens(const QList<Context::ContentFile> &files)
79{
80 int total = 0;
81 for (const auto &file : files) {
82 total += estimateFileTokens(file);
83 }
84 return total;
85}
86
87} // namespace QodeAssist::Context

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected