mirror of
https://github.com/NixOS/nix.git
synced 2025-11-29 05:31:00 +01:00
Remove Input::hasAllInfo()
This commit is contained in:
parent
90e9f50a66
commit
3b45475f75
8 changed files with 0 additions and 52 deletions
|
|
@ -204,15 +204,6 @@ struct GitInputScheme : InputScheme
|
|||
return url;
|
||||
}
|
||||
|
||||
bool hasAllInfo(const Input & input) const override
|
||||
{
|
||||
bool maybeDirty = !input.getRef();
|
||||
bool shallow = maybeGetBoolAttr(input.attrs, "shallow").value_or(false);
|
||||
return
|
||||
maybeGetIntAttr(input.attrs, "lastModified")
|
||||
&& (shallow || maybeDirty || maybeGetIntAttr(input.attrs, "revCount"));
|
||||
}
|
||||
|
||||
Input applyOverrides(
|
||||
const Input & input,
|
||||
std::optional<std::string> ref,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue