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:
parent
05b9dac754
commit
2248a3f545
11 changed files with 232 additions and 182 deletions
2
src/libstore/windows/pathlocks-impl.hh
Normal file
2
src/libstore/windows/pathlocks-impl.hh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#pragma once
|
||||
///@file Needed because Unix-specific counterpart
|
||||
16
src/libstore/windows/pathlocks.cc
Normal file
16
src/libstore/windows/pathlocks.cc
Normal 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");
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue