Branch.String
String is an implementation of S where branches are strings. The main branch is "main". Valid branch names contain only alpha-numeric characters, -, _, ., and /.
String
main
"main"
-
_
.
/
type t = string
The type for branches.
val t : t Type.t
val main : t
The name of the main branch.
val is_valid : t -> bool
Check if the branch is valid.