Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibreSprite/LibreSprite
/ hasModifiedDocuments
Method
hasModifiedDocuments
src/app/context.cpp:41–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
}
40
41
bool Context::hasModifiedDocuments() const
42
{
43
for (auto doc : documents())
44
if (static_cast<app::Document*>(doc)->isModified())
45
return true;
46
return false;
47
}
48
49
void Context::executeCommand(const char* commandName)
50
{
Callers
1
onExecute
Method · 0.80
Calls
1
isModified
Method · 0.45
Tested by
no test coverage detected