LCOV - code coverage report
Current view: top level - common/utils - revision.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 2 2 100.0 %
Date: 2024-12-19 23:10:26 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             :  * SPDX-License-Identifier: MPL-2.0
       3             :  *
       4             :  * This Source Code Form is subject to the terms of the Mozilla Public
       5             :  * License, v. 2.0.  If a copy of the MPL was not distributed with this
       6             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       7             :  *
       8             :  * Copyright 2024 MonetDB Foundation;
       9             :  * Copyright August 2008 - 2023 MonetDB B.V.;
      10             :  * Copyright 1997 - July 2008 CWI.
      11             :  */
      12             : 
      13             : #include "monetdb_config.h"
      14             : #include "monetdb_hgversion.h"
      15             : #include <string.h>
      16             : #include "mutils.h"
      17             : 
      18             : static const char revision[] =
      19             : #ifdef MERCURIAL_ID
      20             :         MERCURIAL_ID
      21             : #else
      22             :         "Unknown"
      23             : #endif
      24             :         ;
      25             : 
      26             : const char *
      27        2085 : mercurial_revision(void)
      28             : {
      29        2085 :         return revision;
      30             : }

Generated by: LCOV version 1.14