Module Ext_path

type t
val path_sep : char
val combine : string -> string -> string

combine path1 path2 1. add some simplifications when concatenating 2. when path2 is absolute, return path2

val (//) : string -> string -> string
get_extension "a.txt" = ".txt"
  get_extension "a" = ""
val node_rebase_file : from:string -> to_:string -> string -> string
val rel_normalized_absolute_path : from:string -> string -> string

TODO: could be highly optimized if from and to resolve to the same path, a zero-length string is returned Given that two paths are directory

A typical use case is

Filename.concat
  (rel_normalized_absolute_path cwd (Filename.dirname a))
  (Filename.basename a)
val normalize_absolute_path : string -> string
val absolute_cwd_path : string -> string