libostree: mark ostree_repo_checkout_tree_at as deprecated
and move its definition to a separate file. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #417 Approved by: cgwalters
This commit is contained in:
1 parent
30963766c7
commit
8867693240
5 files changed
+79
-37
No files matched your search
@@ -735,33 +735,6 @@ ostree_repo_checkout_tree (OstreeRepo *self,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
/**
|
||||
* OstreeRepoCheckoutOptions: (skip)
|
||||
*
|
||||
* An extensible options structure controlling checkout. Ensure that
|
||||
* you have entirely zeroed the structure, then set just the desired
|
||||
* options. This is used by ostree_repo_checkout_tree_at() which
|
||||
* supercedes previous separate enumeration usage in
|
||||
* ostree_repo_checkout_tree().
|
||||
*/
|
||||
typedef struct {
|
||||
OstreeRepoCheckoutMode mode;
|
||||
OstreeRepoCheckoutOverwriteMode overwrite_mode;
|
||||
|
||||
guint enable_uncompressed_cache : 1;
|
||||
guint disable_fsync : 1;
|
||||
guint process_whiteouts : 1;
|
||||
guint no_copy_fallback : 1;
|
||||
guint reserved : 28;
|
||||
|
||||
const char *subpath;
|
||||
|
||||
OstreeRepoDevInoCache *devino_to_csum_cache;
|
||||
|
||||
guint unused_uints[6];
|
||||
gpointer unused_ptrs[7];
|
||||
} OstreeRepoCheckoutOptions;
|
||||
|
||||
/**
|
||||
* OstreeRepoCheckoutAtOptions:
|
||||
*
|
||||
@@ -797,15 +770,6 @@ OstreeRepoDevInoCache * ostree_repo_devino_cache_ref (OstreeRepoDevInoCache *cac
|
||||
_OSTREE_PUBLIC
|
||||
void ostree_repo_devino_cache_unref (OstreeRepoDevInoCache *cache);
|
||||
|
||||
_OSTREE_PUBLIC
|
||||
gboolean ostree_repo_checkout_tree_at (OstreeRepo *self,
|
||||
OstreeRepoCheckoutOptions *options,
|
||||
int destination_dfd,
|
||||
const char *destination_path,
|
||||
const char *commit,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
_OSTREE_PUBLIC
|
||||
gboolean ostree_repo_checkout_at (OstreeRepo *self,
|
||||
OstreeRepoCheckoutAtOptions *options,
|
||||
@@ -1123,3 +1087,8 @@ gboolean ostree_repo_regenerate_summary (OstreeRepo *self,
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
/* Include here as the functions defined before should not depend on anything which
|
||||
is defined in -deprecated.h. */
|
||||
#include "ostree-repo-deprecated.h"
|
||||
Reference in new issue
Block a user