Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::PathLocks Class Reference

Public Member Functions

 PathLocks (const std::set< std::filesystem::path > &paths, const std::string &waitMsg="")
 PathLocks (PathLocks &&other) noexcept
PathLocks & operator= (PathLocks &&other) noexcept
 PathLocks (const PathLocks &)=delete
PathLocks & operator= (const PathLocks &)=delete
bool lockPaths (const std::set< std::filesystem::path > &_paths, const std::string &waitMsg="", bool wait=true)
void unlock ()
void setDeletion (bool deletePaths)

The documentation for this class was generated from the following files:
  • libstore/include/nix/store/pathlocks.hh
  • libstore/pathlocks.cc
  • libstore/unix/pathlocks.cc
  • libstore/windows/pathlocks.cc