core: Cleanup commitpartial file with fd-relative lookups

First, this is just a general continuation of the `GFile -> openat`
transition.

Second, it's preparatory work for fsck to gain awareness of partial
commits.
This commit is contained in:
Colin Walters committed 2015-05-06 08:07:20 -04:00
1 parent a68242c6c9
commit 279308b5b9
3 files changed
+55 -28

No files matched your search

+6
View File
@@ -112,6 +112,12 @@ _ostree_get_relative_static_delta_part_path (const char *from,
const char *to,
guint i);
static inline char *
_ostree_get_commitpartial_path (const char *checksum)
{
return g_strconcat ("state/", checksum, ".commitpartial", NULL);
}
void
_ostree_loose_path (char *buf,
const char *checksum,