LCOV - code coverage report
Current view: top level - core - load-dropin.h (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 6 6 100.0 %
Date: 2019-08-23 13:36:53 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 1 2 50.0 %

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: LGPL-2.1+ */
       2                 :            : #pragma once
       3                 :            : 
       4                 :            : #include "dropin.h"
       5                 :            : #include "unit.h"
       6                 :            : 
       7                 :            : /* Read service data supplementary drop-in directories */
       8                 :            : 
       9                 :      11324 : static inline int unit_find_dropin_paths(Unit *u, char ***paths) {
      10         [ -  + ]:      11324 :         assert(u);
      11                 :            : 
      12                 :      33972 :         return unit_file_find_dropin_paths(NULL,
      13                 :      11324 :                                            u->manager->lookup_paths.search_path,
      14                 :      11324 :                                            u->manager->unit_path_cache,
      15                 :            :                                            ".d", ".conf",
      16                 :      11324 :                                            u->names,
      17                 :            :                                            paths);
      18                 :            : }
      19                 :            : 
      20                 :            : int unit_load_dropin(Unit *u);

Generated by: LCOV version 1.14