summaryrefslogtreecommitdiffstats
path: root/applypatch/include/applypatch/applypatch.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-03-04 09:22:47 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-03-04 09:22:47 +0100
commit328e4aa9055414a74e9bdf31526fdee0e268078a (patch)
treecdf6bc19fb0749ae82402af11aa34ab7db1a6f6e /applypatch/include/applypatch/applypatch.h
parentSnap for 4628106 from bb928df6ebd70ac0680184927ea00b373c3e507f to pi-release (diff)
parentMerge "Add a singleton CacheLocation to replace the hard coded locations" am: 47cd789eed am: a72f93d6da (diff)
downloadandroid_bootable_recovery-328e4aa9055414a74e9bdf31526fdee0e268078a.tar
android_bootable_recovery-328e4aa9055414a74e9bdf31526fdee0e268078a.tar.gz
android_bootable_recovery-328e4aa9055414a74e9bdf31526fdee0e268078a.tar.bz2
android_bootable_recovery-328e4aa9055414a74e9bdf31526fdee0e268078a.tar.lz
android_bootable_recovery-328e4aa9055414a74e9bdf31526fdee0e268078a.tar.xz
android_bootable_recovery-328e4aa9055414a74e9bdf31526fdee0e268078a.tar.zst
android_bootable_recovery-328e4aa9055414a74e9bdf31526fdee0e268078a.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