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

Function applypatch_check

applypatch/applypatch.cpp:490–515  ·  view source on GitHub ↗

Returns 0 if the contents of the file (argv[2]) or the cached file match any of the sha1's on the command line (argv[3:]). Returns nonzero otherwise.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

ApplyPatchCheckFnFunction · 0.85
CheckModeFunction · 0.85
TEST_FFunction · 0.85

Calls 3

LoadFileContentsFunction · 0.85
FindMatchingPatchFunction · 0.85
cache_temp_sourceMethod · 0.80

Tested by 1

TEST_FFunction · 0.68