Class: Hbc::Container::SvnRepository

Inherits:
Directory show all
Defined in:
Library/Homebrew/cask/lib/hbc/container/svn_repository.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Directory

#extract

Methods inherited from Base

#extract_nested_container, #extract_nested_inside, #initialize, #verbose?

Constructor Details

This class inherits a constructor from Hbc::Container::Base

Class Method Details

.me?(criteria) ⇒ Boolean



6
7
8
# File 'Library/Homebrew/cask/lib/hbc/container/svn_repository.rb', line 6

def self.me?(criteria)
  criteria.path.join(".svn").directory?
end

Instance Method Details

#skip_path?(path) ⇒ Boolean



10
11
12
# File 'Library/Homebrew/cask/lib/hbc/container/svn_repository.rb', line 10

def skip_path?(path)
  path.basename.to_s == ".svn"
end