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

Function timespec_to_ms

Core/MemoryFile_Android.cpp:232–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232static long long timespec_to_ms(struct timespec ts) {
233 return (long long)ts.tv_sec * 1000LL + ts.tv_nsec / 1000000LL;
234}
235
236long long getFileModifyTimeInMS(const char *path) {
237 if (!path) {

Callers 1

getFileModifyTimeInMSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected