Skip to content

Commit 5b92de8

Browse files
authored
Merge pull request #1152 from matthew-a-dunlap/doc-project-file-delete-example
docs: additional project file delete example
2 parents 1606310 + 9e94b75 commit 5b92de8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/gl_objects/projects.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ encoded text::
376376
Delete a file::
377377

378378
f.delete(commit_message='Delete testfile', branch='master')
379+
# or
380+
project.files.delete(file_path='testfile.txt', commit_message='Delete testfile', branch='master')
379381

380382
Get file blame::
381383

0 commit comments

Comments
 (0)