Method: Cnvrg::Files#delete_file
- Defined in:
- lib/cnvrg/files.rb
#delete_file(absolute_path, relative_path, commit_sha1) ⇒ Object
150 151 152 153 |
# File 'lib/cnvrg/files.rb', line 150 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 |