Repository: mesos Updated Branches: refs/heads/master 5d17e892c -> f7858bb3a
Shortened some overly long comment lines. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f7858bb3 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f7858bb3 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f7858bb3 Branch: refs/heads/master Commit: f7858bb3ad532f8bf89fa06b56dc24368d008e14 Parents: 5d17e89 Author: James Peach <[email protected]> Authored: Thu Nov 30 08:43:10 2017 -0800 Committer: James Peach <[email protected]> Committed: Thu Nov 30 08:43:10 2017 -0800 ---------------------------------------------------------------------- 3rdparty/stout/include/stout/os/windows/rmdir.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/f7858bb3/3rdparty/stout/include/stout/os/windows/rmdir.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/os/windows/rmdir.hpp b/3rdparty/stout/include/stout/os/windows/rmdir.hpp index 52e7d86..a2926da 100644 --- a/3rdparty/stout/include/stout/os/windows/rmdir.hpp +++ b/3rdparty/stout/include/stout/os/windows/rmdir.hpp @@ -139,17 +139,20 @@ inline Try<Nothing> recursive_remove_directory( // recursive mode, `removeRoot` can be set to false to enable removing // all the files and directories beneath the given root directory, but // not the root directory itself. +// // Note that this function expects an absolute path. -// By default rmdir aborts when an error occurs during the deletion of any file -// but if continueOnError is set to true, rmdir logs the error and continues -// with the next file. +// +// By default rmdir aborts when an error occurs during the deletion +// of any file but if continueOnError is set to true, rmdir logs the +// error and continues with the next file. inline Try<Nothing> rmdir( const std::string& directory, bool recursive = true, bool removeRoot = true, bool continueOnError = false) { - // The API of this function also deletes files symlinks according to the tests. + // The API of this function also deletes files symlinks according + // to the tests. if (!os::exists(directory)) { return WindowsError(ERROR_FILE_NOT_FOUND); }
