Method: Gitgo::Repo#sha_path

Defined in:
lib/gitgo/repo.rb

#sha_path(sha, *paths) ⇒ Object

Creates a nested sha path like: ab/xyz/paths



253
254
255
256
257
# File 'lib/gitgo/repo.rb', line 253

def sha_path(sha, *paths)
  paths.unshift sha[2,38]
  paths.unshift sha[0,2]
  paths
end