LCOV - code coverage report
Current view: top level - pageserver/client/src - lib.rs (source / functions) Coverage Total Hit
Test: 53437f7e869ac68c86c7d3e4c20964c0156f158c.info Lines: 0.0 % 6 0
Test Date: 2024-09-20 16:14:12 Functions: 0.0 % 1 0

            Line data    Source code
       1              : pub mod mgmt_api;
       2              : pub mod page_service;
       3              : 
       4              : /// For timeline_block_unblock_gc, distinguish the two different operations. This could be a bool.
       5              : // If file structure is per-kind not per-feature then where to put this?
       6              : #[derive(Clone, Copy)]
       7              : pub enum BlockUnblock {
       8              :     Block,
       9              :     Unblock,
      10              : }
      11              : 
      12              : impl std::fmt::Display for BlockUnblock {
      13            0 :     fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
      14            0 :         let s = match self {
      15            0 :             BlockUnblock::Block => "block",
      16            0 :             BlockUnblock::Unblock => "unblock",
      17              :         };
      18            0 :         f.write_str(s)
      19            0 :     }
      20              : }
        

Generated by: LCOV version 2.1-beta