Line | Branch | Exec | Source |
---|---|---|---|
1 | #include "Validator.h" | ||
2 | |||
3 | namespace iguana { | ||
4 | |||
5 | 8 | void Validator::SetOutputDirectory(std::string_view output_dir) | |
6 | { | ||
7 | 8 | m_output_dir = output_dir; | |
8 | 8 | } | |
9 | |||
10 | 16 | std::optional<std::string> Validator::GetOutputDirectory() | |
11 | { | ||
12 |
1/2✓ Branch 0 taken 16 times.
✗ Branch 1 not taken.
|
16 | if(m_output_dir != "") |
13 | return m_output_dir; | ||
14 | return {}; | ||
15 | } | ||
16 | |||
17 | } | ||
18 |