repo: Introduce ostree_repo_open_at() and ostree_repo_create_at()

This essentially completes our fd-relative conversion.

While here, I cleaned up the semantics of `ostree_repo_create()` and
`ostree_repo_create_at()` to be more atomic - basically various scripts were
testing for the `objects` subdirectory, so let's formalize that.

Closes: #820
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-08-15 12:35:10 +00:00
1 parent 64b7c42025
commit fd98bda3c7
10 files changed
+297 -156

No files matched your search

+2
View File
@@ -271,6 +271,7 @@ ostree_mutable_tree_get_type
OstreeRepo
OstreeRepoMode
ostree_repo_mode_from_string
ostree_repo_open_at
ostree_repo_new
ostree_repo_new_for_sysroot_path
ostree_repo_new_default
@@ -279,6 +280,7 @@ ostree_repo_set_disable_fsync
ostree_repo_get_disable_fsync
ostree_repo_is_system
ostree_repo_is_writable
ostree_repo_create_at
ostree_repo_create
ostree_repo_get_path
ostree_repo_get_mode