dte test coverage


Directory: ./
File: src/command/serialize.h
Date: 2024-12-21 16:03:22
Exec Total Coverage
Lines: 3 3 100.0%
Functions: 1 1 100.0%
Branches: 0 0 -%

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 539 static inline void string_append_escaped_arg(String *s, const char *arg, bool escape_tilde)
12 {
13 539 string_append_escaped_arg_sv(s, strview_from_cstring(arg), escape_tilde);
14 539 }
15
16 #endif
17