summaryrefslogtreecommitdiff
path: root/src/config_diff.mli
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2026-05-11 14:46:45 +0100
committerGitHub <noreply@github.com>2026-05-11 14:46:45 +0100
commite80771d973fc249ab04fd20a6bb2463698194880 (patch)
treed3526b7b77046cd7eaee0978d7f93eda0cc9d754 /src/config_diff.mli
parente6a61be086172b7a4a53d99931c0e0057e6b5916 (diff)
parentf858e82c5d1ee62110911183f6b5efb50564dc62 (diff)
downloadvyos1x-config-e80771d973fc249ab04fd20a6bb2463698194880.tar.gz
vyos1x-config-e80771d973fc249ab04fd20a6bb2463698194880.zip
Merge pull request #68 from jestabro/mask-exclusive
T8488: add mask exclusive and supporting utilitlies
Diffstat (limited to 'src/config_diff.mli')
-rw-r--r--src/config_diff.mli6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config_diff.mli b/src/config_diff.mli
index 7579e32..168b748 100644
--- a/src/config_diff.mli
+++ b/src/config_diff.mli
@@ -65,8 +65,12 @@ val tree_merge : ?destructive:bool -> Config_tree.t -> Config_tree.t -> Config_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
+val mask_tree : ?exclusive:bool -> Config_tree.t -> Config_tree.t -> Config_tree.t
[@@alert exn "Config_diff.Incommensurable"]
[@@alert exn "Config_diff.Empty_comparison"]
val get_tagged_delete_tree : Config_tree.t -> Config_tree.t
+
+exception Malformed_path of string
+val subtree_from_partial : Reference_tree.t -> Config_tree.t -> Config_tree.t -> string list -> Config_tree.t
+[@@alert exn "Config_diff.Malformed_path"]