1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-14 06:22:42 +01:00

Create no-op Window pathlocks implementation

This keeps the call sites simple, eventually this should be filled in.
This commit is contained in:
John Ericson 2024-04-17 11:34:09 -04:00
parent 05b9dac754
commit 2248a3f545
11 changed files with 232 additions and 182 deletions

View file

@ -0,0 +1,2 @@
#pragma once
///@file Needed because Unix-specific counterpart

View file

@ -0,0 +1,16 @@
#include "logging.hh"
#include "pathlocks.hh"
namespace nix {
bool PathLocks::lockPaths(const PathSet & _paths, const std::string & waitMsg, bool wait)
{
return true;
}
void PathLocks::unlock()
{
warn("PathLocks::unlock: not yet implemented");
}
}