MCPcopy Create free account
hub / github.com/TeamWin/Team-Win-Recovery-Project / Sha1CheckFn

Function Sha1CheckFn

updater/install.cpp:312–347  ·  view source on GitHub ↗

sha1_check(data) to return the sha1 of the data (given in the format returned by read_file). sha1_check(data, sha1_hex, [sha1_hex, ...]) returns the sha1 of the file if it matches any of the hex strings passed, or "" if it does not equal any of them.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

ErrorAbortFunction · 0.85
ReadValueArgsFunction · 0.85
StringValueFunction · 0.85
print_sha1Function · 0.85
ParseSha1Function · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected