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

Function importFrom

Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:1201–1209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1199}
1200
1201MMKV_JNI jlong importFrom(JNIEnv *env, jobject instance, jlong handle, jlong srcHandle) {
1202 MMKV *kv = reinterpret_cast<MMKV *>(handle);
1203 MMKV *src = reinterpret_cast<MMKV *>(srcHandle);
1204 if (kv && src) {
1205 jlong size = kv->importFrom(src);
1206 return size;
1207 }
1208 return 0;
1209}
1210
1211} // namespace mmkv
1212

Callers

nothing calls this directly

Calls 1

importFromMethod · 0.45

Tested by

no test coverage detected