···343343 be safely converted back with {!v}. *)
344344345345val of_string : string -> (t, [`Msg of string]) Result.result
346346-(** [of_string s] is the string [s] as a path. [None] is returned if
346346+(** [of_string s] is the string [s] as a path. [Result.Error] is returned if
347347 {ul
348348 {- [s] or the path following the {{!split_volume}volume} is empty ([""]),
349349 except on Windows UNC paths, see below.}
···358358 {- On Windows empty absolute UNC paths are completed to
359359 their root. For example ["\\\\server\\share"] becomes
360360 ["\\\\server\\share\\"],
361361- but incomplete UNC volumes like ["\\\\a"] return [None].}} *)
361361+ but incomplete UNC volumes like ["\\\\a"] return [Result.Error].}} *)
362362363363val pp : Format.formatter -> t -> unit
364364(** [pp ppf p] prints path [p] on [ppf] using {!to_string}. *)