summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-05-26 16:43:13 -0700
committerAlex Deymo <deymo@google.com>2016-06-21 21:56:48 +0000
commit2c131bbf81d8c02ade163b939c96e44aa93765e9 (patch)
treea99f47721281b5f50f739a87fc3035c8123dbf37 /scripts/update_payload/format_utils.py
parent05871fab8b32938ad66ce230250ff6db5563bd7a (diff)
Fetch local files asynchronously.
This patch implements a new fetcher that only handles local files. While libcurl supports file:// urls, the stream can't be suspended when accessing local files. This new FileFetcher is based on the brillo::FileStream class which properly handles the asynchronous reads from regular files. Bug: 28866512 TEST=Added unittest. Deployed an update from a file:// URL. Change-Id: Ie9d07dda2d773312e55be3c0ab7c9e5b737be18b
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions