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

Method first_api

src/utility/src/remote_session_file.cpp:195–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195std::optional<RemoteSessionFile> RemoteSessionManager::first_api() const {
196 for (const auto &i : sessions_) {
197 if (i.host() == "localhost")
198 return i;
199 }
200
201 return {};
202}
203
204std::optional<RemoteSessionFile>
205RemoteSessionManager::find(const std::string &session_name) const {

Callers 3

connect_remote_autoMethod · 0.95
TESTFunction · 0.80

Calls 1

hostMethod · 0.45

Tested by 1

TESTFunction · 0.64