MCPcopy Create free account
hub / github.com/TeXworks/texworks / hasChanged

Method hasChanged

src/scripting/Script.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool Script::hasChanged() const
48{
49 QFileInfo fi(m_Filename);
50 return (fi.size() != m_FileSize || fi.lastModified() != m_LastModified);
51}
52
53bool Script::doParseHeader(const QString& beginComment, const QString& endComment,
54 const QString& Comment, bool skipEmpty /* = true */)

Callers 1

reloadScriptsInListMethod · 0.45

Calls 1

lastModifiedMethod · 0.45

Tested by

no test coverage detected