Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniZinc/MiniZincIDE
/ hasFile
Method
hasFile
MiniZincIDE/ide.cpp:504–507 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
502
}
503
504
bool IDE::hasFile(const QString& path)
505
{
506
return documents.find(path) != documents.end();
507
}
508
509
QTextDocument* IDE::addDocument(const QString& path, QTextDocument *doc, CodeEditor *ce)
510
{
Callers
1
saveFile
Method · 0.80
Calls
2
find
Method · 0.80
end
Method · 0.45
Tested by
no test coverage detected