Sha256: a58127913d18eee191ad7746d1b52f0b61cb7187d17f25a083b4a1fd926e9b09

Contents?: true

Size: 650 Bytes

Versions: 16

Compression:

Stored size: 650 Bytes

Contents

/**
 * @file
 * Declares the Linux kernel fact resolver.
 */
#pragma once

#include "../posix/kernel_resolver.hpp"

namespace facter { namespace facts { namespace linux {

    /**
     * Responsible for resolving kernel facts.
     */
    struct kernel_resolver : posix::kernel_resolver
    {
     protected:
        /**
         * Parses the major and minor kernel versions.
         * @param version The version to parse.
         * @return Returns a tuple of major and minor versions.
         */
        std::tuple<std::string, std::string> parse_version(std::string const& version) const override;
    };

}}}  // namespace facter::facts::linux

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
facter-3.12.2.cfacter.20181217 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.12.1.cfacter.20181031 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.11.6.cfacter.20181031 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.12.1.cfacter.20181023 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.11.5.cfacter.20181022 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.12.0.cfacter.20181004 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.12.0.cfacter.20181001 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.12.0.cfacter.20180918 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.11.4.cfacter.20180821 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.11.3.cfacter.20180716 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.11.2.cfacter.20180612 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.9.6.cfacter.20180612 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.11.2.cfacter.20180606 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.9.6.cfacter.20180606 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
facter-3.11.0.cfacter.20180319 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
cfacter-3.11.0.rc.20180314 ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp