Coverage Report

Created: 2025-07-12 06:08

/src/aspell/modules/speller/default/data_id.hpp
Line
Count
Source
1
#ifndef ASPELLER_DATA_ID__HPP
2
#define ASPELLER_DATA_ID__HPP
3
4
#include "settings.h"
5
6
#include <sys/stat.h>
7
8
namespace aspeller {
9
  
10
  class Dict::Id {
11
  public: // but don't use
12
    const Dict * ptr;
13
    const char * file_name;
14
#ifdef USE_FILE_INO
15
    ino_t           ino;
16
    dev_t           dev;
17
#endif
18
  public:
19
    Id(Dict * p, const FileName & fn = FileName());
20
  };
21
22
  inline bool Dict::cache_key_eq(const Id & o) 
23
1.01k
  {
24
1.01k
    return *id_ == o;
25
1.01k
  }
26
27
}
28
29
#endif