This file is indexed.

/usr/lib/ruby/vendor_ruby/octocatalog-diff/cli/options/preserve_environments.rb is in octocatalog-diff 1.5.3-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
# frozen_string_literal: true

# Preserve the `environments` directory from the repository when compiling the catalog. Likely
# requires some combination of `--to-environment`, `--from-environment`, and/or `--create-symlinks`
# to work correctly.
# @param parser [OptionParser object] The OptionParser argument
# @param options [Hash] Options hash being constructed; this is modified in this method.
OctocatalogDiff::Cli::Options::Option.newoption(:preserve_environments) do
  has_weight 501

  def parse(parser, options)
    parser.on('--[no-]preserve-environments', 'Enable or disable environment preservation') do |x|
      options[:preserve_environments] = x
    end
  end
end