mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
repo/commit: Dedup content writing API implementation
Similar to metadata, for `write_content_trusted()` we can just call `_write_content()` with a `NULL` output checksum. Closes: #881 Approved by: jlebon
This commit is contained in:
parent
22b1234f52
commit
d2a92df155
@ -1748,9 +1748,8 @@ ostree_repo_write_content_trusted (OstreeRepo *self,
|
||||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
{
|
||||
return write_object (self, OSTREE_OBJECT_TYPE_FILE, checksum,
|
||||
object_input, length, NULL,
|
||||
cancellable, error);
|
||||
return ostree_repo_write_content (self, checksum, object_input, length,
|
||||
NULL, cancellable, error);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user