dte test coverage


Directory: ./
File: src/command/alias.h
Date: 2025-12-11 10:43:49
Coverage Exec Excl Total
Lines: 100.0% 2 0 2
Functions: 100.0% 1 0 1
Branches: -% 0 0 0

Line Branch Exec Source
1 #ifndef COMMAND_ALIAS_H
2 #define COMMAND_ALIAS_H
3
4 #include "util/hashmap.h"
5 #include "util/macros.h"
6
7 123 static inline const char *find_alias(const HashMap *aliases, const char *name)
8 {
9 123 return hashmap_get(aliases, name);
10 }
11
12 void add_alias(HashMap *aliases, const char *name, const char *value) NONNULL_ARGS;
13 void remove_alias(HashMap *aliases, const char *name) NONNULL_ARGS;
14
15 #endif
16