LCOV - code coverage report
Current view: top level - libs/url/src/segments_view.cpp (source / functions) Coverage Total Hit
Test: coverage_filtered.info Lines: 100.0 % 9 9
Test Date: 2024-09-08 09:46:47 Functions: 100.0 % 2 2

            Line data    Source code
       1              : //
       2              : // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
       3              : // Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com)
       4              : //
       5              : // Distributed under the Boost Software License, Version 1.0. (See accompanying
       6              : // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       7              : //
       8              : // Official repository: https://github.com/boostorg/url
       9              : //
      10              : 
      11              : 
      12              : #include <boost/url/detail/config.hpp>
      13              : #include <boost/url/segments_view.hpp>
      14              : #include <boost/url/parse_path.hpp>
      15              : 
      16              : namespace boost {
      17              : namespace urls {
      18              : 
      19           87 : segments_view::
      20              : segments_view(
      21           87 :     detail::path_ref const& ref) noexcept
      22           87 :     : segments_base(ref)
      23              : {
      24           87 : }
      25              : 
      26           19 : segments_view::
      27              : segments_view(
      28           19 :     core::string_view s)
      29              :     : segments_base(
      30           19 :         parse_path(s).value(
      31           19 :             BOOST_URL_POS))
      32              : {
      33           13 : }
      34              : 
      35              : } // urls
      36              : } // boost
      37              : 
        

Generated by: LCOV version 2.1