This file is indexed.

/usr/include/mimetic/version.h is in libmimetic-dev 0.9.7-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/***************************************************************************
    copyright            : (C) 2002-2008 by Stefano Barbato
    email                : stefano@codesink.org

    $Id: version.h,v 1.9 2008-10-07 11:06:26 tat Exp $
 ***************************************************************************/
#ifndef _MIMETIC_VERSION_H_
#define _MIMETIC_VERSION_H_
#include <string>
#include <iostream>

namespace mimetic
{
struct Version;


// library version
extern const Version version;


// major & minor are macro defined in /usr/include/sys/sysmacros.h (linux)
// so we'll use maj & min instead

/// A three levels version string class
/** 
    format:
        maj.min[.build]
          \d+\.\d+(\.\d+)?
    es. 1.1, 1.23.5, 1.2.3, 1.2.3, 1.11
        22.1.3, 0.1.234
*/
struct Version
{
    typedef unsigned int ver_type;
    Version();
    Version(const std::string&);
    Version(ver_type, ver_type, ver_type build = 0);
    void maj(ver_type);
    void min(ver_type);
    void build(ver_type);
    ver_type maj() const;
    ver_type min() const;
    ver_type build() const;
    
    void set(ver_type, ver_type, ver_type build = 0);
    void set(const std::string&);
    std::string str() const;

    bool operator==(const Version&) const;
    bool operator!=(const Version&) const;
    bool operator<(const Version&) const;
    bool operator>(const Version&) const;
    bool operator<=(const Version&) const;
    bool operator>=(const Version&) const;
    friend std::ostream& operator<<(std::ostream&, const Version&);
protected:
    ver_type m_maj, m_min, m_build;
};

}

#endif