diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2025-06-01 17:12:06 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2025-06-14 10:58:01 +0200 |
commit | 2f18b8a33cabd0ea666781ba048d0174b4dc5031 (patch) | |
tree | aacda421b89e8133e3c73942e9ede61283a5005c /lib/virtuals/v_string/v_string.mli |
Initial commit
Diffstat (limited to 'lib/virtuals/v_string/v_string.mli')
-rw-r--r-- | lib/virtuals/v_string/v_string.mli | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/virtuals/v_string/v_string.mli b/lib/virtuals/v_string/v_string.mli new file mode 100644 index 0000000..267dbf2 --- /dev/null +++ b/lib/virtuals/v_string/v_string.mli @@ -0,0 +1,14 @@ +type t +(** + This module provide a common signature between the server and javascript + side in order to create URL in the same way. +*) + +val v : string -> t +val s : t -> string +val concat : ?sep:t -> t list -> t + +val encode : t -> t +(** Encode an element of the url by percent-encoding. The function is + expected to encode "/" as well. + *) |