This file is indexed.

/usr/lib/ruby/vendor_ruby/concurrent/executor/serial_executor_service.rb is in ruby-concurrent 1.0.0-3.

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
require 'concurrent/executor/executor_service'

module Concurrent

  # Indicates that the including `ExecutorService` guarantees
  # that all operations will occur in the order they are post and that no
  # two operations may occur simultaneously. This module provides no
  # functionality and provides no guarantees. That is the responsibility
  # of the including class. This module exists solely to allow the including
  # object to be interrogated for its serialization status.
  #
  # @example
  #   class Foo
  #     include Concurrent::SerialExecutor
  #   end
  #
  #   foo = Foo.new
  #
  #   foo.is_a? Concurrent::ExecutorService #=> true
  #   foo.is_a? Concurrent::SerialExecutor  #=> true
  #   foo.serialized?                       #=> true
  #
  # @!visibility private
  module SerialExecutorService
    include ExecutorService

    # @!macro executor_service_method_serialized_question
    #
    # @note Always returns `true`
    def serialized?
      true
    end
  end
end