Method: Hippo::Repository#path
- Defined in:
- lib/hippo/repository.rb
#path ⇒ String
Return the path where this repository is stored on the local computer.
21 22 23 24 25 26 27 28 |
# File 'lib/hippo/repository.rb', line 21 def path return @options['path'] if @options['path'] @path ||= begin digest = Digest::SHA256.hexdigest(url) File.join('', 'tmp', 'hippo-repos', digest) end end |