This file is indexed.

/usr/lib/ruby/vendor_ruby/compass/import-once/engine.rb is in ruby-compass-import-once 1.0.5~dfsg-5.

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
35
module Compass
  # although this is part of the compass suite of gems, it doesn't depend on compass,
  # so any sass-based project can use to to get import-once behavior for all of their
  # importers.
  module ImportOnce
    # All sass engines will be extended with this module to manage the lifecycle
    # around each
    module Engine
      def to_css
        with_import_scope(options[:css_filename]) do
          super
        end
      end

      def render
        with_import_scope(options[:css_filename]) do
          super
        end
      end

      def render_with_sourcemap(sourcemap_uri)
        with_import_scope(options[:css_filename]) do
          super
        end
      end

      def with_import_scope(css_filename)
        Compass::ImportOnce.import_tracker[css_filename] = Set.new
        yield
      ensure
        Compass::ImportOnce.import_tracker.delete(css_filename)
      end
    end
  end
end