MCPcopy Create free account
hub / github.com/Tencent/MMKV / getCurrentTimeInSecond

Method getCurrentTimeInSecond

Core/MMKV_IO.cpp:1754–1757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1752// ---- auto expire ----
1753
1754uint32_t MMKV::getCurrentTimeInSecond() {
1755 auto time = ::time(nullptr);
1756 return static_cast<uint32_t>(time);
1757}
1758
1759bool MMKV::doFullWriteBack(MMKVVector &&vec) {
1760 auto preparedData = prepareEncode(std::move(vec));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected