package bistro

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Bistro_engine.PathSource

Helper functions to represent paths as string lists. For absolute paths, the first element of the list is "/".

Sourcetype t = string list
Sourceval compare : t -> t -> int
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval make_relative : ?from:string -> string -> t

make_relative ~from:dirA dirB constructs a relative path that can be used to go from dirA to dirB.

  • raises [Invalid_argument]

    if dirA is relative.

OCaml

Innovation. Community. Security.