diff options
| author | John Estabrook <jestabro@vyos.io> | 2025-12-17 10:04:56 -0600 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2025-12-17 21:13:45 -0600 |
| commit | 61bb74851b0ea626a25b66b2822edc6663d116e9 (patch) | |
| tree | 06f0fda2253cd5415632d3a45fa894261fa233cc /src/reference_tree.mli | |
| parent | b303da3489a24181eff531ea01423b697f24bed3 (diff) | |
| download | vyos1x-config-61bb74851b0ea626a25b66b2822edc6663d116e9.tar.gz vyos1x-config-61bb74851b0ea626a25b66b2822edc6663d116e9.zip | |
T8061: add function get_completion_env
Diffstat (limited to 'src/reference_tree.mli')
| -rw-r--r-- | src/reference_tree.mli | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/reference_tree.mli b/src/reference_tree.mli index 5bb74bc..96cb24f 100644 --- a/src/reference_tree.mli +++ b/src/reference_tree.mli @@ -2,6 +2,9 @@ type node_type = [ `Leaf | `Tag | `Other ] type path_type = [ node_type | `Tag_value | `Leaf_value | `Multi | `Invalid ] +val path_type_to_yojson : path_type -> Yojson.Safe.t +val path_type_of_yojson : Yojson.Safe.t -> (path_type, string) result + type completion_help_type = | List of string [@name "list"] | Path of string [@name "path"] @@ -103,10 +106,6 @@ val get_value_help : t -> string list -> (string * string) list [@@alert exn "Vytree.Empty_path"] [@@alert exn "Vytree.Nonexistent_path"] -val get_completion_data : t -> string list -> (node_type * bool * string) list -[@@alert exn "Vytree.Empty_path"] -[@@alert exn "Vytree.Nonexistent_path"] - val get_default_value : t -> string list -> string option [@@alert exn "Vytree.Empty_path"] [@@alert exn "Vytree.Nonexistent_path"] |
