summaryrefslogtreecommitdiff
path: root/src/commit.mli
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-04-08 15:09:45 +0100
committerGitHub <noreply@github.com>2025-04-08 15:09:45 +0100
commit61566db58d2b5f8eacbd1564ba1ae0690ac4b1f6 (patch)
tree47ccceb8e72c4a02ceb282a0c5db7e06c93baaf8 /src/commit.mli
parent0fb5e2f781725196ae010cf64e4d185a8f5ce721 (diff)
parenteeb758f406f0cc27ab7863dc17eec00c24f2c0b6 (diff)
downloadvyconf-61566db58d2b5f8eacbd1564ba1ae0690ac4b1f6.tar.gz
vyconf-61566db58d2b5f8eacbd1564ba1ae0690ac4b1f6.zip
Merge pull request #19 from jestabro/commit-dry-run
T7302: add backend support for commit dry-run
Diffstat (limited to 'src/commit.mli')
-rw-r--r--src/commit.mli4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commit.mli b/src/commit.mli
index 12ad084..01022ec 100644
--- a/src/commit.mli
+++ b/src/commit.mli
@@ -35,10 +35,8 @@ val default_node_data : node_data
val default_commit_data : commit_data
-val make_commit_data : Vyos1x.Reference_tree.t -> Vyos1x.Config_tree.t -> Vyos1x.Config_tree.t -> string -> commit_data
+val make_commit_data : ?dry_run:bool -> Vyos1x.Reference_tree.t -> Vyos1x.Config_tree.t -> Vyos1x.Config_tree.t -> string -> commit_data
val calculate_priority_lists : Vyos1x.Reference_tree.t -> Vyos1x.Config_tree.t -> node_data list * node_data list
val commit_update : commit_data -> commit_data
-
-val commit_store : commit_data -> unit