MCPcopy Create free account
hub / github.com/apache/mesos / decompress

Function decompress

src/common/command_utils.cpp:216–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214
215
216Future<Nothing> decompress(const Path& input)
217{
218 vector<string> argv = {
219 "gzip",
220 "-d", // Decompress.
221 input
222 };
223
224 return launch("gzip", argv)
225 .then([]() { return Nothing(); });
226}
227
228} // namespace command {
229} // namespace internal {

Callers 2

fetchMethod · 0.50

Calls 3

NothingClass · 0.85
launchFunction · 0.70
thenMethod · 0.45

Tested by 1