aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-03-01 18:24:53 +0100
committerGitHub <noreply@github.com>2023-03-01 18:24:53 +0100
commit651dab55da8feb2e62d325a4a359658f295df34b (patch)
treec4ebcab83f3d1ef347803f0bb4be7fa754cc35d7 /src
parent306e5c5ce5a38fecb90b2d2a3c6159fd2ad9c5cc (diff)
parentb31d4b689ca9f82e1c4060ea41e92691d5c94ee8 (diff)
Merge pull request #7854 from aameen-tulip/patch-1
Diffstat (limited to 'src')
-rw-r--r--src/libfetchers/fetchers.hh5
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;