LCOV - code coverage report
Current view: top level - core - load-dropin.h (source / functions) Hit Total Coverage
Test: main_coverage.info Lines: 6 6 100.0 %
Date: 2019-08-22 15:41:25 Functions: 1 1 100.0 %

          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        2797 : static inline int unit_find_dropin_paths(Unit *u, char ***paths) {
      10        2797 :         assert(u);
      11             : 
      12        8391 :         return unit_file_find_dropin_paths(NULL,
      13        2797 :                                            u->manager->lookup_paths.search_path,
      14        2797 :                                            u->manager->unit_path_cache,
      15             :                                            ".d", ".conf",
      16        2797 :                                            u->names,
      17             :                                            paths);
      18             : }
      19             : 
      20             : int unit_load_dropin(Unit *u);

Generated by: LCOV version 1.14