summaryrefslogtreecommitdiffstats
path: root/applypatch/include
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-03-01 19:36:05 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-03-01 19:36:05 +0100
commit47cd789eeddcdc35e4602c426c015098860f9344 (patch)
tree9db0b6bd746646486aa990daecf8e3302c49b4c0 /applypatch/include
parentMerge "Fix the behavior of undefined commands in BlockImageVerify" (diff)
parentAdd a singleton CacheLocation to replace the hard coded locations (diff)
downloadandroid_bootable_recovery-47cd789eeddcdc35e4602c426c015098860f9344.tar
android_bootable_recovery-47cd789eeddcdc35e4602c426c015098860f9344.tar.gz
android_bootable_recovery-47cd789eeddcdc35e4602c426c015098860f9344.tar.bz2
android_bootable_recovery-47cd789eeddcdc35e4602c426c015098860f9344.tar.lz
android_bootable_recovery-47cd789eeddcdc35e4602c426c015098860f9344.tar.xz
android_bootable_recovery-47cd789eeddcdc35e4602c426c015098860f9344.tar.zst
android_bootable_recovery-47cd789eeddcdc35e4602c426c015098860f9344.zip
Diffstat (limited to 'applypatch/include')
-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