summaryrefslogtreecommitdiffstats
path: root/applypatch/include/applypatch/applypatch.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-03-01 19:45:52 +0100
committerandroid-build-merger <android-build-merger@google.com>2018-03-01 19:45:52 +0100
commita72f93d6da282082317cca643c581de2d9f38f1b (patch)
tree9db0b6bd746646486aa990daecf8e3302c49b4c0 /applypatch/include/applypatch/applypatch.h
parentMerge "Fix the behavior of undefined commands in BlockImageVerify" (diff)
parentMerge "Add a singleton CacheLocation to replace the hard coded locations" (diff)
downloadandroid_bootable_recovery-a72f93d6da282082317cca643c581de2d9f38f1b.tar
android_bootable_recovery-a72f93d6da282082317cca643c581de2d9f38f1b.tar.gz
android_bootable_recovery-a72f93d6da282082317cca643c581de2d9f38f1b.tar.bz2
android_bootable_recovery-a72f93d6da282082317cca643c581de2d9f38f1b.tar.lz
android_bootable_recovery-a72f93d6da282082317cca643c581de2d9f38f1b.tar.xz
android_bootable_recovery-a72f93d6da282082317cca643c581de2d9f38f1b.tar.zst
android_bootable_recovery-a72f93d6da282082317cca643c581de2d9f38f1b.zip
Diffstat (limited to 'applypatch/include/applypatch/applypatch.h')
-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