summaryrefslogtreecommitdiffstats
path: root/applypatch/include/applypatch
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-03-01 19:58:27 +0100
committerandroid-build-merger <android-build-merger@google.com>2018-03-01 19:58:27 +0100
commit4249cdfe29491b0ad8c418d8015a50cb37b6ff9b (patch)
treecdf6bc19fb0749ae82402af11aa34ab7db1a6f6e /applypatch/include/applypatch
parentMerge "Fix the behavior of undefined commands in BlockImageVerify" am: ac4818d6af am: 7b9a92c1e2 (diff)
parentMerge "Add a singleton CacheLocation to replace the hard coded locations" am: 47cd789eed (diff)
downloadandroid_bootable_recovery-4249cdfe29491b0ad8c418d8015a50cb37b6ff9b.tar
android_bootable_recovery-4249cdfe29491b0ad8c418d8015a50cb37b6ff9b.tar.gz
android_bootable_recovery-4249cdfe29491b0ad8c418d8015a50cb37b6ff9b.tar.bz2
android_bootable_recovery-4249cdfe29491b0ad8c418d8015a50cb37b6ff9b.tar.lz
android_bootable_recovery-4249cdfe29491b0ad8c418d8015a50cb37b6ff9b.tar.xz
android_bootable_recovery-4249cdfe29491b0ad8c418d8015a50cb37b6ff9b.tar.zst
android_bootable_recovery-4249cdfe29491b0ad8c418d8015a50cb37b6ff9b.zip
Diffstat (limited to 'applypatch/include/applypatch')
-rw-r--r--applypatch/include/applypatch/applypatch.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/applypatch/include/applypatch/applypatch.h b/applypatch/include/applypatch/applypatch.h
index c8ad91505..912ead1fa 100644
--- a/applypatch/include/applypatch/applypatch.h
+++ b/applypatch/include/applypatch/applypatch.h
@@ -34,12 +34,6 @@ struct FileContents {
std::vector<unsigned char> data;
};
-// When there isn't enough room on the target filesystem to hold the patched version of the file,
-// we copy the original here and delete it to free up space. If the expected source file doesn't
-// exist, or is corrupted, we look to see if the cached file contains the bits we want and use it as
-// the source instead. The default location for the cached source is "/cache/saved.file".
-extern std::string cache_temp_source;
-
using SinkFn = std::function<size_t(const unsigned char*, size_t)>;
// applypatch.cpp