GCC Code Coverage Report


Directory: cvmfs/
File: cvmfs/ingestion/task_hash.h
Date: 2024-04-28 02:33:07
Exec Total Coverage
Lines: 2 2 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /**
2 * This file is part of the CernVM File System.
3 */
4
5 #ifndef CVMFS_INGESTION_TASK_HASH_H_
6 #define CVMFS_INGESTION_TASK_HASH_H_
7
8 #include "ingestion/item.h"
9 #include "ingestion/task.h"
10
11 class TaskHash : public TubeConsumer<BlockItem> {
12 public:
13 705 TaskHash(Tube<BlockItem> *tube_in, TubeGroup<BlockItem> *tubes_out)
14 705 : TubeConsumer<BlockItem>(tube_in), tubes_out_(tubes_out) { }
15
16 protected:
17 virtual void Process(BlockItem *input_block);
18
19 private:
20 TubeGroup<BlockItem> *tubes_out_;
21 };
22
23 #endif // CVMFS_INGESTION_TASK_HASH_H_
24