dte test coverage


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 50.0% high: ≥ 85.0%
Coverage Exec / Excl / Total
Lines: 100.0% 3 / 0 / 3
Functions: 100.0% 1 / 0 / 1
Branches: -% 0 / 0 / 0

src/command/serialize.h
Line Branch Exec Source
1 #ifndef COMMAND_SERIALIZE_H
2 #define COMMAND_SERIALIZE_H
3
4 #include <stdbool.h>
5 #include "util/macros.h"
6 #include "util/string.h"
7 #include "util/string-view.h"
8
9 void string_append_escaped_arg_sv(String *s, StringView arg, bool escape_tilde) NONNULL_ARGS;
10
11 788 static inline void string_append_escaped_arg(String *s, const char *arg, bool escape_tilde)
12 {
13 788 string_append_escaped_arg_sv(s, strview(arg), escape_tilde);
14 788 }
15
16 #endif
17