LCOV - code coverage report
Current view: top level - frmts/zarr - zarr_v3_codec.cpp (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 2 5 40.0 %
Date: 2026-02-11 08:43:47 Functions: 1 2 50.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  *
       3             :  * Project:  GDAL
       4             :  * Purpose:  Zarr driver, ZarrV3Codec class
       5             :  * Author:   Even Rouault <even dot rouault at spatialys.com>
       6             :  *
       7             :  ******************************************************************************
       8             :  * Copyright (c) 2023, Even Rouault <even dot rouault at spatialys.com>
       9             :  *
      10             :  * SPDX-License-Identifier: MIT
      11             :  ****************************************************************************/
      12             : 
      13             : #include "zarr_v3_codec.h"
      14             : 
      15             : /************************************************************************/
      16             : /*                            ZarrV3Codec()                             */
      17             : /************************************************************************/
      18             : 
      19        3879 : ZarrV3Codec::ZarrV3Codec(const std::string &osName) : m_osName(osName)
      20             : {
      21        3879 : }
      22             : 
      23             : /************************************************************************/
      24             : /*                            ~ZarrV3Codec()                            */
      25             : /************************************************************************/
      26             : 
      27             : ZarrV3Codec::~ZarrV3Codec() = default;
      28             : 
      29             : /************************************************************************/
      30             : /*                     ZarrV3Codec::DecodePartial()                     */
      31             : /************************************************************************/
      32             : 
      33           0 : bool ZarrV3Codec::DecodePartial(VSIVirtualHandle *,
      34             :                                 const ZarrByteVectorQuickResize &,
      35             :                                 ZarrByteVectorQuickResize &,
      36             :                                 std::vector<size_t> &, std::vector<size_t> &)
      37             : {
      38             :     // Normally we should not hit that...
      39           0 :     CPLError(CE_Failure, CPLE_NotSupported,
      40             :              "Codec %s does not support partial decoding", m_osName.c_str());
      41           0 :     return false;
      42             : }

Generated by: LCOV version 1.14