Sha256: bbe9d4c76f0331c4a8879d6111e046305c7bc8092140d40094b35f12ce8cc941

Contents?: true

Size: 474 Bytes

Versions: 1

Compression:

Stored size: 474 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module Bhook
  class RootDirectory < Directory
    extend T::Sig

    sig { params(src_path: Pathname, out_path: Pathname).void }
    def initialize(src_path, out_path)
      super(src_path, out_path, Git.open(src_path), Bhook::Config.new(src_path))
    end

    private

    sig { params(_src_path: Pathname, out_path: Pathname).returns(Pathname) }
    def build_out_path(_src_path, out_path)
      out_path
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bhook-0.3.0 lib/bhook/root_directory.rb