package forester

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

Source file Job.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(*
 * SPDX-FileCopyrightText: 2024 The Forester Project Contributors
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *)

open Forester_core
open Types

type latex_to_svg_job = {
  hash: string;
  source: string;
}
[@@deriving show]

let uri_for_latex_to_svg_job ~(base : URI.t) (job : latex_to_svg_job) =
  URI_scheme.named_uri ~base @@ job.hash ^ ".svg"

type job =
  | LaTeX_to_svg of latex_to_svg_job
  | Syndicate of content syndication
[@@deriving show]
OCaml

Innovation. Community. Security.