core: Add a function creating an archive-z2 content stream
It is quite similar to the already existing ostree_raw_file_to_content_stream function, so I factored the common part to a separate function. The difference is that we cannot report the size of the resulting stream. Can be useful for serving a "bare" repository as a faked "archive-z2" repository. Closes: #308 Approved by: cgwalters
This commit is contained in:
1 parent
6bf94ec233
commit
569e43c280
5 files changed
+250
-34
No files matched your search
@@ -341,5 +341,5 @@ global:
|
||||
LIBOSTREE_2016.6 {
|
||||
global:
|
||||
ostree_repo_remote_fetch_summary_with_options;
|
||||
|
||||
ostree_raw_file_to_archive_z2_stream;
|
||||
} LIBOSTREE_2016.5;
|
||||
Reference in new issue
Block a user