MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / isAlreadyOpened

Method isAlreadyOpened

src/csvapplication.cpp:1595–1601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1593
1594
1595bool CsvApplication::isAlreadyOpened(std::string path) {
1596 for(int slot = 0; slot < TCRUNCHER_MAX_WINDOWS; ++slot) {
1597 if( windows[slot].getWindowSlotUsed() && windows[slot].getPath() == path )
1598 return true;
1599 }
1600 return false;
1601}
1602
1603
1604/*

Callers 1

loadFileMethod · 0.80

Calls 2

getWindowSlotUsedMethod · 0.80
getPathMethod · 0.80

Tested by

no test coverage detected