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

Method createContentFile

context/ContextManager.cpp:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82ContentFile ContextManager::createContentFile(const QString &filePath) const
83{
84 ContentFile contentFile;
85 QFileInfo fileInfo(filePath);
86 contentFile.filename = fileInfo.fileName();
87 contentFile.content = readFile(filePath);
88 return contentFile;
89}
90
91ProgrammingLanguage ContextManager::getDocumentLanguage(const DocumentInfo &documentInfo) const
92{

Callers

nothing calls this directly

Calls 1

fileNameMethod · 0.45

Tested by

no test coverage detected