summaryrefslogtreecommitdiff
path: root/src/config_diff.mli
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-11-04 14:41:30 +0000
committerGitHub <noreply@github.com>2025-11-04 14:41:30 +0000
commit6e2a6efc5de6c2e395df377fcd273231ad8ed683 (patch)
tree3c837d8e16cb52d1d7bb85ea4afc5ffb913a81d0 /src/config_diff.mli
parent80e28b1e191fe6f518f7b1ee3d77e672f7397159 (diff)
parent2aea7ddbc092b03dbf07dce385786b9c5c16a881 (diff)
downloadvyos1x-config-6e2a6efc5de6c2e395df377fcd273231ad8ed683.tar.gz
vyos1x-config-6e2a6efc5de6c2e395df377fcd273231ad8ed683.zip
Merge pull request #54 from jestabro/exn-alert
T7915: Use alert exn attribute for audit of uncaught exceptions at compile time
Diffstat (limited to 'src/config_diff.mli')
-rw-r--r--src/config_diff.mli18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/config_diff.mli b/src/config_diff.mli
index fdc662c..98e0ee3 100644
--- a/src/config_diff.mli
+++ b/src/config_diff.mli
@@ -42,10 +42,28 @@ exception Empty_comparison
exception Nonexistent_child
val clone : ?recurse:bool -> ?set_values:string list option -> Config_tree.t -> Config_tree.t ->string list -> Config_tree.t
+[@@alert exn "Vytree.Nonexistent_path"]
+
val diff_tree : string list -> Config_tree.t -> Config_tree.t -> Config_tree.t
+[@@alert exn "Config_diff.Incommensurable"]
+[@@alert exn "Config_diff.Empty_comparison"]
+
val show_diff : ?cmds:bool -> string list -> Config_tree.t -> Config_tree.t -> string
+[@@alert exn "Config_diff.Incommensurable"]
+[@@alert exn "Config_diff.Empty_comparison"]
+
val tree_union : Config_tree.t -> Config_tree.t -> Config_tree.t
+[@@alert exn "Tree_alg.Incompatible_union"]
+[@@alert exn "Tree_alg.Nonexistent_child"]
+
val tree_merge : ?destructive:bool -> Config_tree.t -> Config_tree.t -> Config_tree.t
+[@@alert exn "Tree_alg.Incompatible_union"]
+[@@alert exn "Tree_alg.Nonexistent_child"]
+
val mask_tree : Config_tree.t -> Config_tree.t -> Config_tree.t
+[@@alert exn "Config_diff.Incommensurable"]
+[@@alert exn "Config_diff.Empty_comparison"]
+
val make_diff_cstore : Config_tree.t -> Config_tree.t -> int -> Diff_cstore.t result
+
val get_tagged_delete_tree : Config_tree.t -> Config_tree.t