From ff08b964031b26e3605f5a56dc6118986f1a62eb Mon Sep 17 00:00:00 2001 From: Teyras Date: Sun, 10 Dec 2017 20:34:54 +0100 Subject: [PATCH] added dumpdir and truncate tasks --- Job-configuration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Job-configuration.md b/Job-configuration.md index 815e38e..ca273c0 100644 --- a/Job-configuration.md +++ b/Job-configuration.md @@ -108,6 +108,13 @@ test will fail anyway. and require at least one argument. For each provided one will be called [boost::filesystem::remove_all](http://www.boost.org/doc/libs/1_60_0/libs/filesystem/doc/reference.html#remove_all) command. +- **Dumpdir task** copies a directory (usually a test directory, for debugging + purposes) recursively, with a limit on the total size of the destination + directory. Files that do not fit into the limit are skipped and + placeholders (with names like `original_file_name.skipped`) are created. +- **Truncate task** cuts off data from the end of a file so that it fits a limit + supplied as an argument. This is done in place, using + [boost::filesystem::resize_file](http://www.boost.org/doc/libs/1_60_0/libs/filesystem/doc/reference.html#resize_file). ### External tasks