This file is indexed.

/usr/share/rubygems-integration/all/gems/faker-1.6.6/lib/faker/file.rb is in ruby-faker 1.6.6-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
# encoding: utf-8
module Faker
  class File < Base
    class << self
      def extension
        fetch('file.extension')
      end

      def mime_type
        fetch('file.mime_type')
      end

      def file_name(dir = nil, name = nil, ext = nil, directory_separator = '/')

        dir = Faker::Internet::slug unless dir
        name = Faker::Lorem::word().downcase unless name
        ext = extension unless ext

        [dir, name].join(directory_separator) + ".#{ext}"
      end
    end
  end
end