lib/bhook/directory.rb in bhook-0.3.0 vs lib/bhook/directory.rb in bhook-0.3.1
- old
+ new
@@ -11,10 +11,10 @@
sig { params(src_path: Pathname, out_path: Pathname).returns(Bhook::RootDirectory) }
def self.new_root_directory(src_path, out_path)
RootDirectory.new(src_path, out_path)
end
- sig { params(src_path: Pathname, out_path: Pathname, git: Git::Base, config: Bhook::Config).void }
+ sig { params(src_path: Pathname, out_path: Pathname, git: Git::Base, config: Bhook::SourceConfig).void }
def initialize(src_path, out_path, git, config)
@src_path = src_path
@out_path = T.let(build_out_path(src_path, out_path), Pathname)
@git = git
@config = config