Method: #remote_file_exists?

Defined in:
lib/underglow/capistrano/helpers.rb

#remote_file_exists?(path) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/underglow/capistrano/helpers.rb', line 6

def remote_file_exists?(path)
  test("[ -e #{command.options[:in]}/#{path} ]")
end