lib/capistrano/recipes/deploy/strategy/copy.rb
# Returns the location of the local copy cache, if the strategy should
# use a local cache + copy instead of a new checkout/export every
# time. Returns +nil+ unless :copy_cache has been set. If :copy_cache
# is +true+, a default cache location will be returned.
Returns the location of the local copy cache, if the strategy should
use a local cache + copy instead of a new checkout/export every
time. Returns +nil+ unless :copy_cache has been set. If :copy_cache
is +true+, a default cache location will be returned.
Returns the location of the local copy cache if the strategy should use a local cache + copy instead of a new checkout / export every time . Returns + nil + unless : copy_cache has been set . If : copy_cache is + true + a default cache location will be returned .
def copy_cache
          @copy_cache ||= configuration[:copy_cache] == true ?
            File.join(Dir.tmpdir, configuration[:application]) :
            configuration[:copy_cache]
        end
def copy_cache @copy_cache ||= configuration [ :copy_cache ] == true ? File . join ( Dir . tmpdir , configuration [ :application ] ) : configuration [ :copy_cache ] end
Returns the location of the local copy cache, if the strategy should
use a local cache + copy instead of a new checkout/export every
time.
Returns the location of the local copy cache if the strategy should use a local cache + copy instead of a new checkout / export every time .