diff options
author | John Estabrook <jestabro@vyos.io> | 2022-02-25 13:51:06 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-02-28 11:53:46 -0600 |
commit | a16d8f3305bd8e33763bc23bd1a49efd0699d506 (patch) | |
tree | 981f64cf1718de1801e52bcb86b38c32edfbe316 /src/config_diff.mli | |
parent | 275c95be26f86a06cbec3123bc90ffbcd76f78af (diff) | |
download | vyos1x-config-a16d8f3305bd8e33763bc23bd1a49efd0699d506.tar.gz vyos1x-config-a16d8f3305bd8e33763bc23bd1a49efd0699d506.zip |
T4235: add function 'trim_tree' to produce tree for delete commands
Diffstat (limited to 'src/config_diff.mli')
-rw-r--r-- | src/config_diff.mli | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config_diff.mli b/src/config_diff.mli index d68976b..70fb2e0 100644 --- a/src/config_diff.mli +++ b/src/config_diff.mli @@ -14,8 +14,10 @@ exception Incommensurable exception Empty_comparison val make_diff_trees : Config_tree.t -> Config_tree.t -> diff_trees -val clone : ?recurse:bool -> ?set_values:string list -> Config_tree.t -> Config_tree.t -> string list -> Config_tree.t +val clone : ?recurse:bool -> ?set_values:(string list) option -> Config_tree.t -> Config_tree.t -> string list -> Config_tree.t val decorate_trees : diff_trees -> ?recurse:bool -> string list -> change -> unit +val trim_trees : diff_trees -> ?recurse:bool -> string list -> change -> unit val compare : string list -> Config_tree.t -> Config_tree.t -> diff_trees val diff_tree : string list -> Config_tree.t -> Config_tree.t -> Config_tree.t +val trim_tree : Config_tree.t -> Config_tree.t -> Config_tree.t |