Sha256: 146438a8c6c1c9b7d86ddc5c539d51757812b0891786d31f3b3752a26a051edb

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

module LegacyFacter
  module Util
    module Root
      def self.root?
        require_relative '../../../facter/resolvers/windows/ffi/identity_ffi'
        IdentityFFI.privileged?
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facter-4.4.3 lib/facter/custom_facts/util/windows_root.rb
facter-4.4.2 lib/facter/custom_facts/util/windows_root.rb
facter-4.4.1 lib/facter/custom_facts/util/windows_root.rb
facter-4.4.0 lib/facter/custom_facts/util/windows_root.rb