LCOV - code coverage report
Current view: top level - src/esys/repo/exe - cmdbuildinfo.cpp (source / functions) Hit Total Coverage
Test: esysrepo_coverage.info Lines: 5 8 62.5 %
Date: 2026-08-12 14:26:50 Functions: 2 4 50.0 %

          Line data    Source code
       1             : /*!
       2             :  * \file esys/repo/exe/cmdbuildinfo.cpp
       3             :  * \brief
       4             :  *
       5             :  * \cond
       6             :  * __legal_b__
       7             :  *
       8             :  * Copyright (c) 2026 Michel Gillet
       9             :  * Distributed under the MIT License.
      10             :  * (See accompanying file LICENSE.txt or
      11             :  * copy at https://opensource.org/licenses/MIT)
      12             :  *
      13             :  * __legal_e__
      14             :  * \endcond
      15             :  *
      16             :  */
      17             : 
      18             : #include "esys/repo/esysrepo_prec.h"
      19             : #include "esys/repo/exe/cmdbuildinfo.h"
      20             : #include "esys/repo/buildinfo.h"
      21             : 
      22             : namespace esys::repo::exe
      23             : {
      24             : 
      25          16 : CmdBuildInfo::CmdBuildInfo()
      26          16 :     : Cmd("BuildInfo")
      27             : {
      28          16 :     set_print_cmd_name_by_base(false);
      29          16 : }
      30             : 
      31          16 : CmdBuildInfo::~CmdBuildInfo() = default;
      32             : 
      33           0 : Result CmdBuildInfo::impl_run()
      34             : {
      35           0 :     info(BuildInfo::get().format_report());
      36           0 :     return ESYSREPO_RESULT(ResultCode::OK);
      37             : }
      38             : 
      39             : } // namespace esys::repo::exe

Generated by: LCOV version 1.14