summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-pull-private.h
diff options
context:
space:
mode:
authorJonathan Lebon <jonathan@jlebon.com>2020-05-14 13:44:32 -0400
committerJonathan Lebon <jonathan@jlebon.com>2020-05-14 14:00:42 -0400
commitc8efce06564b7adef83994dddb41cd61a030207d (patch)
tree3f983a6266973e704488e7037b2c77f9d96c304f /src/libostree/ostree-repo-pull-private.h
parentf145d183694834d74470b3c01a715aa2d1bc9a5f (diff)
downloadostree-c8efce06564b7adef83994dddb41cd61a030207d.tar.gz
lib/pull: Add `timestamp-check-from-rev`
The way `timestamp-check` works might be too restrictive in some situations. Essentially, we need to support the case where users want to pull an older commit than the current tip, but while still guaranteeing that it is newer than some even older commit. This will be used in Fedora CoreOS. For more information see: https://github.com/coreos/rpm-ostree/pull/2094 https://github.com/coreos/fedora-coreos-tracker/issues/481
Diffstat (limited to 'src/libostree/ostree-repo-pull-private.h')
-rw-r--r--src/libostree/ostree-repo-pull-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libostree/ostree-repo-pull-private.h b/src/libostree/ostree-repo-pull-private.h
index 5bc2a33a..86d1ffee 100644
--- a/src/libostree/ostree-repo-pull-private.h
+++ b/src/libostree/ostree-repo-pull-private.h
@@ -114,6 +114,7 @@ typedef struct {
guint n_imported_content;
gboolean timestamp_check; /* Verify commit timestamps */
+ char *timestamp_check_from_rev;
int maxdepth;
guint64 max_metadata_size;
guint64 start_time;