MCPcopy Create free account
hub / github.com/abstrakraft/android_build / LoadMTDContents

Function LoadMTDContents

tools/applypatch/applypatch.c:107–250  ·  view source on GitHub ↗

Load the contents of an MTD partition into the provided FileContents. filename should be a string of the form "MTD: : : : : :...". The smallest size_n bytes for which that prefix of the mtd contents has the corresponding sha1 hash will be loaded. It is acceptable for a size value to be repeated with different sha1s. Will return 0 on success. This comp

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

LoadFileContentsFunction · 0.85

Calls 1

ParseSha1Function · 0.85

Tested by

no test coverage detected