diff options
author | Colin Walters <walters@verbum.org> | 2017-12-14 11:10:35 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-12-14 21:56:26 +0000 |
commit | 4a2e08148de1ada60ba854b21489159229ed08e3 (patch) | |
tree | e82cc04070c3b8f4e6ba7004eef6d08a9dc77d4d /apidoc | |
parent | d340fe406079c4b3c2b62af2a1c10cd9afd44b09 (diff) | |
download | ostree-4a2e08148de1ada60ba854b21489159229ed08e3.tar.gz |
lib/core: Add a "break hardlink" API
This imports the code from rpm-ostree:
https://github.com/projectatomic/rpm-ostree/blob/9ff9f6c997d914cb7d97d6b59d8045ba64a1882c/src/libpriv/rpmostree-util.c#L742
I plan to use this for rofiles-fuse to implement
copyup: https://github.com/ostreedev/ostree/issues/1377
But it's just obviously generally useful for projects using
libostree I think.
Closes: #1378
Approved by: jlebon
Diffstat (limited to 'apidoc')
-rw-r--r-- | apidoc/ostree-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apidoc/ostree-sections.txt b/apidoc/ostree-sections.txt index d60e8f2a..d3cf1c68 100644 --- a/apidoc/ostree-sections.txt +++ b/apidoc/ostree-sections.txt @@ -133,6 +133,7 @@ ostree_content_file_parse_at ostree_raw_file_to_archive_z2_stream ostree_raw_file_to_archive_z2_stream_with_options ostree_raw_file_to_content_stream +ostree_break_hardlink ostree_checksum_file_from_input ostree_checksum_file ostree_checksum_file_at |