summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-private.h
diff options
context:
space:
mode:
authorAnne LoVerso <aelv13@gmail.com>2014-08-05 08:41:50 -0400
committerColin Walters <walters@verbum.org>2014-08-20 15:09:32 -0400
commit3742c329459615eca34fdd374673c76ac648ffba (patch)
tree99862dceb5c40cc9b42573c3403eb2ca88788d48 /src/libostree/ostree-repo-private.h
parent6a55d2c32ffcb49de5f4d781315b67dcc885d6f7 (diff)
downloadostree-3742c329459615eca34fdd374673c76ac648ffba.tar.gz
repo-pull: Allow pulling only one directory
Changes the pull API to allow pulling only a single directory instead of the whole deployment. This option is utilized by the check-diff option in rpm-ostree. Add a new state directory to hold <checksum>.commitpartial files, so we know that we've only downloaded partial state.
Diffstat (limited to 'src/libostree/ostree-repo-private.h')
-rw-r--r--src/libostree/ostree-repo-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h
index 379460ab..34f6cde1 100644
--- a/src/libostree/ostree-repo-private.h
+++ b/src/libostree/ostree-repo-private.h
@@ -40,6 +40,7 @@ struct OstreeRepo {
GFile *local_heads_dir;
GFile *remote_heads_dir;
GFile *objects_dir;
+ GFile *state_dir;
int objects_dir_fd;
GFile *deltas_dir;
GFile *uncompressed_objects_dir;