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

Method Stat

source/application/discord/storage_manager.cpp:127–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127Result StorageManager::Stat(char const* name, FileStat* stat)
128{
129 if (!stat) {
130 return Result::InternalError;
131 }
132
133 auto result =
134 internal_->stat(internal_, const_cast<char*>(name), reinterpret_cast<DiscordFileStat*>(stat));
135 return static_cast<Result>(result);
136}
137
138Result StorageManager::StatAt(std::int32_t index, FileStat* stat)
139{

Callers

nothing calls this directly

Calls 1

statMethod · 0.45

Tested by

no test coverage detected