package sihl

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

Source file http_utils.ml

1
2
3
4
5
6
7
open Base

let externalize
    ?(prefix = Configuration.read_string_default ~default:"" "PREFIX_PATH") path
    =
  path |> String.split ~on:'/' |> List.cons prefix |> String.concat ~sep:"/"
  |> String.substr_replace_all ~pattern:"//" ~with_:"/"
OCaml

Innovation. Community. Security.