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

Function ApplyPatchCheckFn

updater/install.cpp:282–302  ·  view source on GitHub ↗

apply_patch_check(filename, [sha1, ...]) Returns true if the contents of filename or the temporary copy in the cache partition (if present) have a SHA-1 checksum equal to one of the given sha1 values. sha1 values are specified as 40 hex digits. This function differs from sha1_check(read_file(filename), sha1 [, ...]) in that it knows to check the cache partition copy, so apply_patch_check() will su

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

ErrorAbortFunction · 0.85
ReadArgsFunction · 0.85
applypatch_checkFunction · 0.85
StringValueFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected