mirror of
https://github.com/NixOS/nix.git
synced 2025-11-19 00:39:37 +01:00
Remove unused LockFile::write()
This commit is contained in:
parent
95d657c8b3
commit
15c430f389
2 changed files with 0 additions and 8 deletions
|
|
@ -214,12 +214,6 @@ std::ostream & operator <<(std::ostream & stream, const LockFile & lockFile)
|
|||
return stream;
|
||||
}
|
||||
|
||||
void LockFile::write(const Path & path) const
|
||||
{
|
||||
createDirs(dirOf(path));
|
||||
writeFile(path, fmt("%s\n", *this));
|
||||
}
|
||||
|
||||
std::optional<FlakeRef> LockFile::isUnlocked() const
|
||||
{
|
||||
std::set<ref<const Node>> nodes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue