DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
oks
apps
oks_git_repository.cxx
Go to the documentation of this file.
1
// DUNE DAQ modification notice:
2
// This file has been modified from the original ATLAS oks source for the DUNE DAQ project.
3
// Fork baseline commit: oks-08-03-04 (2022-04-14).
4
// Renamed since fork: yes (from bin/oks_git_repository.cpp to apps/oks_git_repository.cxx).
5
12
13
#include "
oks/kernel.hpp
"
14
15
#include <stdlib.h>
16
#include <string.h>
17
18
using namespace
dunedaq::oks
;
19
20
int
21
main
(
int
argc,
char
** argv)
22
{
23
if
(argc > 1) {
24
if
(!strcmp(
"-h"
, argv[1]) || !strcmp(
"--help"
, argv[1])) {
25
std::cout <<
"This program extracts OKS git repository from TDAQ_DB_REPOSITORY process environment variable."
26
<< std::endl;
27
return
EXIT_SUCCESS;
28
}
29
}
30
31
std::cout <<
OksKernel::get_repository_root
() << std::endl;
32
33
return
EXIT_SUCCESS;
34
}
dunedaq::oks::OksKernel::get_repository_root
static const std::string & get_repository_root()
Get OKS repository root.
Definition
kernel.cpp:280
main
int main(int argc, char *argv[])
Definition
emu_confgen.cxx:228
kernel.hpp
dunedaq::oks
Definition
SchemaCommand.hpp:17
Generated on
for DUNE-DAQ by
1.18.0