Method: Cnvrg::Files#delete_file
- Defined in:
- lib/cnvrg/files.rb
#delete_file(absolute_path, relative_path, commit_sha1) ⇒ Object
322 323 324 325 |
# File 'lib/cnvrg/files.rb', line 322 def delete_file(absolute_path, relative_path, commit_sha1) response = Cnvrg::API.request(@base_resource + "delete_file", 'DELETE', {absolute_path: absolute_path, relative_path: relative_path, commit_sha1: commit_sha1}) return Cnvrg::CLI.is_response_success(response, false) end |