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:
parent
e824ab30cf
commit
0f7e9d0513
3 changed files with 12 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue