MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / checksumText

Function checksumText

src/lib/installState.js:161–171  ·  view source on GitHub ↗

* * @param {string} text * @returns

(text)

Source from the content-addressed store, hash-verified

159 * @returns
160 */
161async function checksumText(text) {
162 return new Promise((resolve, reject) => {
163 cordova.exec(
164 (hash) => resolve(hash),
165 (error) => reject(error),
166 "System",
167 "checksumText",
168 [text],
169 );
170 });
171}

Callers 2

newMethod · 0.85
isUpdatedMethod · 0.85

Calls 2

resolveFunction · 0.85
execMethod · 0.65

Tested by

no test coverage detected