package goblint

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

Source file version.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let release = "2.0.1"
let release_commit = "705bc3a3b4aae589dc61123b29f971a5eda27d12"

let goblint =
  let commit = ConfigVersion.version in
  if BatString.starts_with release "%" then
    commit
  else (
    let commit =
      if commit = "n/a" then (* released archive has no .git *)
        release_commit
      else
        commit
    in
    Format.sprintf "%s (%s)" release commit
  )
OCaml

Innovation. Community. Security.