Method: Cnvrg::Files#delete_file

Defined in:
lib/cnvrg/files.rb

#delete_file(relative_path, commit_sha1) ⇒ Object



542
543
544
545
# File 'lib/cnvrg/files.rb', line 542

def delete_file(relative_path, commit_sha1)
  response = Cnvrg::API.request(@base_resource + "delete_file", 'DELETE', {relative_path: relative_path, commit_sha1: commit_sha1})
  return Cnvrg::CLI.is_response_success(response, false)
end