Sha256: d8b32d944f68f8ec44037700fa5b5e24b13b98c0827e76746d29d7097bde3232

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 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::SourceConfig.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

2 entries across 2 versions & 1 rubygems

Version Path
bhook-0.3.2 lib/bhook/root_directory.rb
bhook-0.3.1 lib/bhook/root_directory.rb