summaryrefslogtreecommitdiff
path: root/Makefile-libostree.am
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2021-04-09 00:35:54 +0000
committerColin Walters <walters@verbum.org>2021-04-09 21:54:44 +0000
commit6f84aff0ae72b6b6b8b0b1c388c6a937c32160c8 (patch)
tree657b47c548e8980556b731288291b4b8ad7069f9 /Makefile-libostree.am
parent020f6cb6521c2b237871d194488cc59079beed6a (diff)
downloadostree-6f84aff0ae72b6b6b8b0b1c388c6a937c32160c8.tar.gz
repo: Add ostree_repo_write_regfile
This API is push rather than pull, which makes it much more suitable to use cases like parsing a tar file from external code. Now, we have a large mess in this area internally because the original file writing code was pull based, but static deltas hit the same problem of wanting a push API, so I added this special `OstreeRepoBareContent` just for writing regular files from a push API. Eventually...I'd like to deprecate the pull based API, and rework things so that for regular files the push API is the default, and then `write_content_object()` would be split up into archive/bare cases. In this world the `ostree_repo_write_content()` API would then need to hackily bridge pull to push and it'd be less efficient. Anyways for now due to this bifurcation, this API only works on non-archive repositories, but that's fine for now because that's what I want for the `ostree-ext-container` bits.
Diffstat (limited to 'Makefile-libostree.am')
-rw-r--r--Makefile-libostree.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 1a5d6f9f..d40de48d 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -66,6 +66,8 @@ libostree_1_la_SOURCES = \
src/libostree/ostree-checksum-input-stream.h \
src/libostree/ostree-chain-input-stream.c \
src/libostree/ostree-chain-input-stream.h \
+ src/libostree/ostree-content-writer.c \
+ src/libostree/ostree-content-writer.h \
src/libostree/ostree-lzma-common.c \
src/libostree/ostree-lzma-common.h \
src/libostree/ostree-lzma-compressor.c \