diff options
| author | John Estabrook <jestabro@vyos.io> | 2026-09-02 07:15:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-02 07:15:59 -0500 |
| commit | 5b5c5f1277b165045123acae4a2470261fbad566 (patch) | |
| tree | 8c43d13c61b282d889898cc03e55ffc25a82c62e /src/diff_compare.ml | |
| parent | 07636e49b3a04fdc76ac42bd65df88736c3945f1 (diff) | |
| parent | f7b4459ba3c6551f8d054456b0d5013a4b0e3ee1 (diff) | |
| download | vyos1x-config-rolling.tar.gz vyos1x-config-rolling.zip | |
Merge pull request #92 from jestabro/reference-tree-utilsrolling
T9231: Add reference_tree utils to return paths satisfying condition
Diffstat (limited to 'src/diff_compare.ml')
| -rw-r--r-- | src/diff_compare.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff_compare.ml b/src/diff_compare.ml index 8a9f0e1..9e24c32 100644 --- a/src/diff_compare.ml +++ b/src/diff_compare.ml @@ -64,7 +64,7 @@ module Diff_compare = struct cmds = cmds; } - let diff_func ?recurse:_ (path : string list) res (m : change) = + let diff_func ?descent:_ (path : string list) res (m : change) = (* raises no exception: clone will always be called on extant path of left or right alert exn Vytree.get_values: @@ -132,7 +132,7 @@ end module D = Diff(Diff_compare) let add_empty_path src_node dest_node path = - (Config_tree.clone[@alert "-exn"]) ~recurse:false ~set_values:(Some []) src_node dest_node path + (Config_tree.clone[@alert "-exn"]) ~descent:false ~set_values:(Some []) src_node dest_node path let compare_at_path_maybe_empty left right path = let left = |
