b1aa8c8912
When execute `docker export -o path xxx` and path is a directory docker has no privilege to write to, daemon will print lots of error logs that most of them are duplicated and redundant. This will remove unnecessary error logs and print only once. Signed-off-by: Zhang Wei <zhangwei555@huawei.com> Upstream-commit: 439433099e261d504561d834839fcb936fb7ea95 Component: engine
This code provides helper functions for dealing with archive files.