LCOV - code coverage report
Current view: top level - pageserver/client/src - lib.rs (source / functions) Coverage Total Hit
Test: 2b0730d767f560e20b6748f57465922aa8bb805e.info Lines: 0.0 % 6 0
Test Date: 2024-09-25 14:04:07 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