mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Move getLastModified(), remove setPathDisplay()
This commit is contained in:
parent
df10dc630f
commit
bacceaea91
2 changed files with 9 additions and 9 deletions
|
@ -83,16 +83,7 @@ struct SourceAccessor
|
|||
return number < x.number;
|
||||
}
|
||||
|
||||
void setPathDisplay(std::string displayPrefix, std::string displaySuffix = "");
|
||||
|
||||
virtual std::string showPath(const CanonPath & path);
|
||||
|
||||
/* Return the maximum last-modified time of the files in this
|
||||
tree, if available. */
|
||||
virtual std::optional<time_t> getLastModified()
|
||||
{
|
||||
return std::nullopt;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue