OstreeMutableTree: add _remove method
There is no API method to remove a file or subdirectory from a MutableTree besides directly manipulating the GHashTable returned by _get_files or _get_subdirs. This isn't possible from an introspection binding that transforms the returned GHashTable, and may also leave the tree checksum in an invalid state. Introduce a new method so that removing files or subdirectories is safe, and possible from bindings. Closes: #1724 Approved by: jlebon
This commit is contained in:
1 parent
6b37fe8310
commit
b32c9e0df9
4 files changed
+53
No files matched your search
@@ -19,6 +19,7 @@
|
||||
|
||||
/* Add new symbols here. Release commits should copy this section into -released.sym. */
|
||||
LIBOSTREE_2018.9 {
|
||||
ostree_mutable_tree_remove;
|
||||
ostree_repo_get_min_free_space_bytes;
|
||||
} LIBOSTREE_2018.7;
|
||||
|
||||
|
||||
Reference in new issue
Block a user