1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 13:11:00 +01:00

No more Path in libnixcmd

Co-authored-by: Vinayak Goyal <vinayakankugoyal@gmail.com>
This commit is contained in:
John Ericson 2024-09-18 12:07:15 -04:00 committed by Ubuntu
parent 88c9c6d89d
commit 84079e10cf
14 changed files with 52 additions and 39 deletions

View file

@ -371,13 +371,13 @@ void RootArgs::parseCmdline(const Strings & _cmdline, bool allowShebang)
d.completer(*completions, d.n, d.prefix);
}
Path Args::getCommandBaseDir() const
std::filesystem::path Args::getCommandBaseDir() const
{
assert(parent);
return parent->getCommandBaseDir();
}
Path RootArgs::getCommandBaseDir() const
std::filesystem::path RootArgs::getCommandBaseDir() const
{
return commandBaseDir;
}