LCOV - code coverage report
Current view: top level - package/prefixdb/api - release_snapshot.hpp (source / functions) Hit Total Coverage
Test: wfc_prefixdb-coverage.info Lines: 0 2 0.0 %
Date: 2019-06-26 Functions: 0 6 0.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <prefixdb/api/common_status.hpp>
       4             : #include <memory>
       5             : #include <string>
       6             : #include <functional>
       7             : 
       8             : namespace wamba { namespace prefixdb {
       9             : 
      10             : namespace request
      11             : {
      12           0 :   struct release_snapshot
      13             :   {
      14             :     std::string prefix;
      15             :     size_t snapshot = 0;
      16             :     typedef std::unique_ptr<release_snapshot> ptr;
      17             :   };
      18             : }
      19             : 
      20             : namespace response
      21             : {
      22           0 :   struct release_snapshot
      23             :   {
      24             :     std::string prefix;
      25             :     common_status status = common_status::OK;
      26             :     typedef std::unique_ptr<release_snapshot> ptr;
      27             :     typedef std::function< void(ptr) > handler;
      28             :   };
      29             : }
      30             : 
      31             : }}

Generated by: LCOV version 1.10