Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Commit 93bc64f

Browse files
committed
add gitlab.projects.repository.compare
1 parent 8a192b2 commit 93bc64f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Models/ProjectRepository.coffee

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ class ProjectRepository extends BaseModel
8080
@debug "Projects::updateFile()", params
8181
@put "projects/#{Utils.parseProjectId params.projectId}/repository/files", params, (data) => fn data if fn
8282

83+
compare: (params = {}, fn = null) =>
84+
@debug "Projects::compare()", params
85+
@get "projects/#{Utils.parseProjectId params.projectId}/repository/compare", params, (data) => fn data if fn
86+
8387
## TODO:
8488
# - Raw file content
8589
# - Raw blob content

0 commit comments

Comments
 (0)