The unpac monorepo manager self-hosting as a monorepo using unpac

Documentation: `of_string` returns `Result.result`

authored by

Raphaël Proust and committed by
Daniel Bünzli
d730b202 2f3c4016

+2 -2
+2 -2
src/fpath.mli
··· 343 be safely converted back with {!v}. *) 344 345 val 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].}} *) 362 363 val pp : Format.formatter -> t -> unit 364 (** [pp ppf p] prints path [p] on [ppf] using {!to_string}. *)
··· 343 be safely converted back with {!v}. *) 344 345 val 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].}} *) 362 363 val pp : Format.formatter -> t -> unit 364 (** [pp ppf p] prints path [p] on [ppf] using {!to_string}. *)