summaryrefslogtreecommitdiff
path: root/src/utils/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/cpp')
-rw-r--r--src/utils/cpp/file_locking.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/cpp/file_locking.hpp b/src/utils/cpp/file_locking.hpp
index a92b874a..c9635d69 100644
--- a/src/utils/cpp/file_locking.hpp
+++ b/src/utils/cpp/file_locking.hpp
@@ -24,7 +24,6 @@
/* \brief Thread- and process-safe file locking mechanism for paths.
* User guarantees write access in the parent directory of the path given, as
* the lock will be placed there and missing tree directories will be created.
- * Lock path and name conventions: a/b.c, a/b/, a/b => a/b.lock; / => /.lock;
*/
class LockFile {
public:
@@ -41,7 +40,7 @@ class LockFile {
auto operator=(LockFile const&) = delete;
auto operator=(LockFile&& other) noexcept -> LockFile&;
- /// \brief Tries to acquire a lock file in the given directory path.
+ /// \brief Tries to acquire a lock file with the given name.
/// Missing directories will be created if write permission exists.
/// Returns the lock file object on success, nullopt on failure.
[[nodiscard]] static auto Acquire(std::filesystem::path const& fspath,