diff options
author | Valentin Gagarin <valentin.gagarin@tweag.io> | 2023-03-01 18:24:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 18:24:53 +0100 |
commit | 651dab55da8feb2e62d325a4a359658f295df34b (patch) | |
tree | c4ebcab83f3d1ef347803f0bb4be7fa754cc35d7 | |
parent | 306e5c5ce5a38fecb90b2d2a3c6159fd2ad9c5cc (diff) | |
parent | b31d4b689ca9f82e1c4060ea41e92691d5c94ee8 (diff) |
Merge pull request #7854 from aameen-tulip/patch-1
-rw-r--r-- | src/libfetchers/fetchers.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libfetchers/fetchers.hh b/src/libfetchers/fetchers.hh index 17da37f47..95c0f5974 100644 --- a/src/libfetchers/fetchers.hh +++ b/src/libfetchers/fetchers.hh @@ -63,6 +63,11 @@ public: one that contains a commit hash or content hash. */ bool isLocked() const { return locked; } + /* Check whether the input carries all necessary info required + for cache insertion and substitution. + These fields are used to uniquely identify cached trees + within the "tarball TTL" window without necessarily + indicating that the input's origin is unchanged. */ bool hasAllInfo() const; bool operator ==(const Input & other) const; |