summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-private.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-09-05 16:36:44 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2013-09-06 20:31:12 -0400
commit5082e1d8e9b327a02115c6fcc8a50d3d262e763a (patch)
tree8e6007df1e1007d586fb0c8abd236222bf2cc7d4 /src/libostree/ostree-repo-private.h
parentc817217ad85e5c5589644b39250f44d206e2b21b (diff)
downloadostree-5082e1d8e9b327a02115c6fcc8a50d3d262e763a.tar.gz
repo: Rename "stage" to "write" in the API
An earlier version of this API acted like git in that some objects would be staged in a temporary directory which would be then committed in one go by moving files around. The API doesn't match most users expectations though, as while the stage is nice as a high-level API it isn't really suited for low-level APIs. While the stage was removed, the APIs were never renamed. Rename them now so that they match expectations. https://bugzilla.gnome.org/show_bug.cgi?id=707644
Diffstat (limited to 'src/libostree/ostree-repo-private.h')
-rw-r--r--src/libostree/ostree-repo-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h
index 51ff380a..ed7daae2 100644
--- a/src/libostree/ostree-repo-private.h
+++ b/src/libostree/ostree-repo-private.h
@@ -90,7 +90,7 @@ _ostree_repo_get_object_path (OstreeRepo *self,
OstreeObjectType type);
gboolean
-_ostree_repo_stage_directory_meta (OstreeRepo *self,
+_ostree_repo_write_directory_meta (OstreeRepo *self,
GFileInfo *file_info,
GVariant *xattrs,
guchar **out_csum,