MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/xstudio / find

Method find

src/utility/src/remote_session_file.cpp:204–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204std::optional<RemoteSessionFile>
205RemoteSessionManager::find(const std::string &session_name) const {
206 for (const auto &i : sessions_) {
207 if (i.session_name() == session_name)
208 return i;
209 }
210
211 return {};
212}
213
214void RemoteSessionManager::add_session_file(const RemoteSessionFile rsm) {
215 sessions_.emplace_front(rsm);

Callers 4

spawnFunction · 0.95
connect_remote_autoMethod · 0.95
inject_mainFunction · 0.95
control_mainFunction · 0.95

Calls 1

session_nameMethod · 0.80

Tested by 1

spawnFunction · 0.76