diff options
author | liugang <galen.gang.liu@gmail.com> | 2017-09-23 16:01:11 +0800 |
---|---|---|
committer | liugang <galen.gang.liu@gmail.com> | 2017-09-23 16:01:11 +0800 |
commit | a93ac1a6a8b967a3ab79acda16a327aa62f4a560 (patch) | |
tree | 72c9d7759590b28e62c9e8a71c8aa6ddeea29693 /docs/markdown/Module-reference.md | |
parent | de259b66906b8e664d6f894546ebc9e7abcce7ff (diff) | |
download | meson-a93ac1a6a8b967a3ab79acda16a327aa62f4a560.zip meson-a93ac1a6a8b967a3ab79acda16a327aa62f4a560.tar.gz meson-a93ac1a6a8b967a3ab79acda16a327aa62f4a560.tar.bz2 |
Improve download package
Using wrap mechanism in enterprise environment,
Some package is very large, example, sdk package from
BSP vendor.
so:
- open file in the output directory with a temporary name
- download a chunk, update hash calculation, write chunk to file
- when finished close file and check the hash
- if hash is incorrect, delete temp file and raise error
- if hash is correct, atomically rename temp file to final file
fix issue: #2358
Diffstat (limited to 'docs/markdown/Module-reference.md')
0 files changed, 0 insertions, 0 deletions