ostree_kernel_args_contains for OstreeKernelArgs

Check if an argument is present in OstreeKernelArgs. This is a way to
make easier idempotent append and delete operations.
ostree_kernel_args_append_if_missing uses it to avoid inserting a
duplicate key.

Closes #2329

Signed-off-by: Rafael Garcia Ruiz <rafael.garcia@collabora.com>
This commit is contained in:
Rafael Garcia Ruiz committed 2022-11-18 13:52:08 +01:00
1 parent 0dbd87c017
commit c4db171dae
6 files changed
+41 -7

No files matched your search

+1
View File
@@ -738,6 +738,7 @@ ostree_kernel_args_get_last_value
ostree_kernel_args_from_string
ostree_kernel_args_to_strv
ostree_kernel_args_to_string
ostree_kernel_args_contains
</SECTION>
<SECTION>