MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / flush

Function flush

packages/core/application-settings/index.android.ts:126–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124}
125
126export function flush(): boolean {
127 ensureSharedPreferences();
128
129 return sharedPreferences.edit().commit();
130}
131
132export function getAllKeys(): Array<string> {
133 ensureSharedPreferences();

Callers

nothing calls this directly

Calls 3

ensureSharedPreferencesFunction · 0.85
commitMethod · 0.65
editMethod · 0.45

Tested by

no test coverage detected