Method: Fetchers::Local#sha256
- Defined in:
- lib/fetchers/local.rb
#sha256 ⇒ Object
93 94 95 96 97 98 99 100 101 |
# File 'lib/fetchers/local.rb', line 93 def sha256 if !@archive_shasum.nil? @archive_shasum elsif File.directory?(@target) nil else perform_shasum(@target) end end |