Sha256: a7fc461599e722c9c1b7b879bd69b36e017993bc8b71354f13e8f7f7c58a66e7

Contents?: true

Size: 436 Bytes

Versions: 7

Compression:

Stored size: 436 Bytes

Contents

# typed: strict
# frozen_string_literal: true

require "sorbet-runtime"

require "packwerk/reference"
require "packwerk/violation_type"

module Packwerk
  module ReferenceLister
    extend T::Sig
    extend T::Helpers

    interface!

    sig do
      params(reference: Packwerk::Reference, violation_type: ViolationType)
        .returns(T::Boolean)
        .abstract
    end
    def listed?(reference, violation_type:); end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
packwerk-1.1.3 lib/packwerk/reference_lister.rb
packwerk-1.1.2 lib/packwerk/reference_lister.rb
packwerk-1.1.1 lib/packwerk/reference_lister.rb
packwerk-1.1.0 lib/packwerk/reference_lister.rb
packwerk-1.0.2 lib/packwerk/reference_lister.rb
packwerk-1.0.1 lib/packwerk/reference_lister.rb
packwerk-1.0.0 lib/packwerk/reference_lister.rb