Method: Chef::Resource::Scm#depth

Defined in:
lib/chef/resource/scm.rb

#depth(arg = nil) ⇒ Object

Capistrano and git-deploy use “shallow clone”



117
118
119
120
121
122
123
# File 'lib/chef/resource/scm.rb', line 117

def depth(arg=nil)
  set_or_return(
    :depth,
    arg,
    :kind_of => Integer
  )
end