···343 be safely converted back with {!v}. *)
344345val of_string : string -> (t, [`Msg of string]) Result.result
346-(** [of_string s] is the string [s] as a path. [None] is returned if
347 {ul
348 {- [s] or the path following the {{!split_volume}volume} is empty ([""]),
349 except on Windows UNC paths, see below.}
···358 {- On Windows empty absolute UNC paths are completed to
359 their root. For example ["\\\\server\\share"] becomes
360 ["\\\\server\\share\\"],
361- but incomplete UNC volumes like ["\\\\a"] return [None].}} *)
362363val pp : Format.formatter -> t -> unit
364(** [pp ppf p] prints path [p] on [ppf] using {!to_string}. *)
···343 be safely converted back with {!v}. *)
344345val of_string : string -> (t, [`Msg of string]) Result.result
346+(** [of_string s] is the string [s] as a path. [Result.Error] is returned if
347 {ul
348 {- [s] or the path following the {{!split_volume}volume} is empty ([""]),
349 except on Windows UNC paths, see below.}
···358 {- On Windows empty absolute UNC paths are completed to
359 their root. For example ["\\\\server\\share"] becomes
360 ["\\\\server\\share\\"],
361+ but incomplete UNC volumes like ["\\\\a"] return [Result.Error].}} *)
362363val pp : Format.formatter -> t -> unit
364(** [pp ppf p] prints path [p] on [ppf] using {!to_string}. *)