]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Correct documentation of Util::unlink_safe
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 22 Jun 2021 17:27:14 +0000 (19:27 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 27 Jun 2021 07:01:20 +0000 (09:01 +0200)
src/Util.hpp

index c4431a4967b5ba4460a007f1a52281acb9a580b4..f4796d04ca3290c391d85b557343304ff0a8a36c 100644 (file)
@@ -465,8 +465,8 @@ void traverse(const std::string& path, const TraverseVisitor& visitor);
 
 // Remove `path` (non-directory), NFS safe. Logs according to `unlink_log`.
 //
-// Returns whether removal was successful. A nonexistent `path` is considered
-// successful.
+// Returns whether removal was successful. A nonexistent `path` is considered a
+// failure.
 bool unlink_safe(const std::string& path,
                  UnlinkLog unlink_log = UnlinkLog::log_failure);