summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-core-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libostree/ostree-core-private.h')
-rw-r--r--src/libostree/ostree-core-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libostree/ostree-core-private.h b/src/libostree/ostree-core-private.h
index f78a820c..a1584d61 100644
--- a/src/libostree/ostree-core-private.h
+++ b/src/libostree/ostree-core-private.h
@@ -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,