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

Method Find

libraries/lib-project-file-io/ActiveProjects.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61wxString ActiveProjects::Find(const FilePath &path)
62{
63 const auto activeProjectsGroup = gPrefs->BeginGroup("/ActiveProjects");
64 for(const auto& key : gPrefs->GetChildKeys())
65 {
66 if(gPrefs->Read(key, wxT("")).IsSameAs(path))
67 return key;
68 }
69 return {};
70}
71

Callers

nothing calls this directly

Calls 4

BeginGroupMethod · 0.45
GetChildKeysMethod · 0.45
IsSameAsMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected