<commit_before>#ifndef UPLOAD_FILE_PROCESSING_FILE_SCRUBBING_TASK_H
#define UPLOAD_FILE_PROCESSING_FILE_SCRUBBING_TASK_H

#include <tbb/task.h>

#include "async_reader.h"

namespace upload { // TODO: remove or replace

class CharBuffer;


class AbstractFile {
 public:
  AbstractFile(const std::string &path,
               const size_t       size) :
    path_(path), size_(size) {}

  const std::string& path() const { return path_; }
  const size_t       size() const { return size_; }

 private:
  const std::string  path_;
  const size_t       size_;<commit_msg>Coverity: remove meaningless return value modifier<commit_after>#ifndef UPLOAD_FILE_PROCESSING_FILE_SCRUBBING_TASK_H
#define UPLOAD_FILE_PROCESSING_FILE_SCRUBBING_TASK_H

#include <tbb/task.h>

#include "async_reader.h"

namespace upload { // TODO: remove or replace

class CharBuffer;


class AbstractFile {
 public:
  AbstractFile(const std::string &path,
               const size_t       size) :
    path_(path), size_(size) {}

  const std::string& path() const { return path_; }
        size_t       size() const { return size_; }

 private:
  const std::string  path_;
  const size_t       size_;
{'fraction_non_alphanumeric': 0.09153122326775022, 'fraction_numerical': 0.0, 'mean_word_length': 3.7755102040816326, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2390849', 'n_tokens_mistral': 392, 'n_tokens_neox': 390, 'n_words': 95}