MCPcopy Create free account
hub / github.com/audacity/audacity / isProjectOpened

Method isProjectOpened

au4/src/project/internal/projectactionscontroller.cpp:538–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536}
537
538bool ProjectActionsController::isProjectOpened(const muse::io::path_t& projectPath) const
539{
540 auto project = globalContext()->currentProject();
541 if (!project) {
542 return false;
543 }
544
545 LOGD() << "project->path: " << project->path() << ", check path: " << projectPath;
546 if (project->path() == projectPath) {
547 return true;
548 }
549
550 return false;
551}
552
553RecentFile ProjectActionsController::makeRecentFile(IAudacityProjectPtr project)
554{

Callers

nothing calls this directly

Calls 2

currentProjectMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected