mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
22 lines
369 B
Ruby
22 lines
369 B
Ruby
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
module OS
|
|
module Linux
|
|
# Helper functions for querying Linux kernel information.
|
|
#
|
|
# @api private
|
|
module Kernel
|
|
module_function
|
|
|
|
def minimum_version
|
|
Version.new "2.6.32"
|
|
end
|
|
|
|
def below_minimum_version?
|
|
OS.kernel_version < minimum_version
|
|
end
|
|
end
|
|
end
|
|
end
|