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

Method Commit

libraries/lib-project-file-io/ProjectFileIO.cpp:2027–2034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2025}
2026
2027void ProjectFileIO::TentativeConnection::Commit()
2028{
2029 if (!mCommitted && !mFileName.empty()) {
2030 mProjectFileIO.SetFileName(mFileName);
2031 mProjectFileIO.DiscardConnection();
2032 mCommitted = true;
2033 }
2034}
2035
2036auto ProjectFileIO::LoadProject(const FilePath &fileName, bool ignoreAutosave)
2037 -> std::optional<TentativeConnection>

Callers 2

WriteDocMethod · 0.45
RemoveStatesMethod · 0.45

Calls 3

SetFileNameMethod · 0.80
DiscardConnectionMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected