LCOV - code coverage report
Current view: top level - oks/apps - oks_git_repository.cxx (source / functions) Coverage Total Hit
Test: code.result Lines: 0.0 % 7 0
Test Date: 2025-12-21 13:07:08 Functions: 0.0 % 1 0

            Line data    Source code
       1              : /**
       2              :  *  \file oks_git_repository.cpp
       3              :  *
       4              :  *  This file is part of the OKS package.
       5              :  *  Author: <Igor.Soloviev@cern.ch>
       6              :  */
       7              : 
       8              : #include "oks/kernel.hpp"
       9              : 
      10              : #include <string.h>
      11              : #include <stdlib.h>
      12              : 
      13              : using namespace dunedaq::oks;
      14              : 
      15              : int
      16            0 : main(int argc, char **argv)
      17              : {
      18            0 :   if(argc > 1)
      19              :     {
      20            0 :       if(!strcmp("-h", argv[1]) || !strcmp("--help", argv[1]))
      21              :         {
      22            0 :           std::cout << "This program extracts OKS git repository from TDAQ_DB_REPOSITORY process environment variable." << std::endl;
      23            0 :           return EXIT_SUCCESS;
      24              :         }
      25              :     }
      26              : 
      27            0 :   std::cout << OksKernel::get_repository_root() << std::endl;
      28              : 
      29            0 :   return EXIT_SUCCESS;
      30              : }
        

Generated by: LCOV version 2.0-1