1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-01 06:31:00 +01:00

Input: Remove 'direct' field

This commit is contained in:
Eelco Dolstra 2023-10-20 19:13:35 +02:00
parent e824ab30cf
commit 0f7e9d0513
3 changed files with 12 additions and 4 deletions

View file

@ -84,6 +84,11 @@ std::string Input::to_string() const
return toURL().to_string();
}
bool Input::isDirect() const
{
return !scheme || scheme->isDirect(*this);
}
Attrs Input::toAttrs() const
{
return attrs;