MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / Exists

Method Exists

source/application/discord/storage_manager.cpp:107–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107Result StorageManager::Exists(char const* name, bool* exists)
108{
109 if (!exists) {
110 return Result::InternalError;
111 }
112
113 auto result =
114 internal_->exists(internal_, const_cast<char*>(name), reinterpret_cast<bool*>(exists));
115 return static_cast<Result>(result);
116}
117
118void StorageManager::Count(std::int32_t* count)
119{

Callers

nothing calls this directly

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected