• Johan Brandhorst's avatar
    Update BranchesService Methods. (#156) · b79e5bf6
    Johan Brandhorst authored
    This change breaks backwards compatibility.
    
    The BranchesService methods were almost all inconsistent with other Services and not supplying all available options. Also updated all documentation links.
    
    The Branch struct now includes all properties exported by the v3 API.
    ListBranches takes a new ListBranchesOptions struct for pagination.
    Added the ability to configure the branch protection in line with API documentation.
    Added a new DeleteMergedBranches which is part of the branches page.
    b79e5bf6
Name
Last commit
Last update
examples Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
branches.go Loading commit data...
build_variables.go Loading commit data...
build_variables_test.go Loading commit data...
builds.go Loading commit data...
commits.go Loading commit data...
commits_test.go Loading commit data...
deploy_keys.go Loading commit data...
events.go Loading commit data...
events_test.go Loading commit data...
gitlab.go Loading commit data...
gitlab_test.go Loading commit data...
groups.go Loading commit data...
issues.go Loading commit data...
labels.go Loading commit data...
merge_requests.go Loading commit data...
milestones.go Loading commit data...
namespaces.go Loading commit data...
notes.go Loading commit data...
notifications.go Loading commit data...
pipelines.go Loading commit data...
pipelines_test.go Loading commit data...
project_snippets.go Loading commit data...
projects.go Loading commit data...
projects_test.go Loading commit data...
repositories.go Loading commit data...
repository_files.go Loading commit data...
services.go Loading commit data...
services_test.go Loading commit data...
session.go Loading commit data...
settings.go Loading commit data...
strings.go Loading commit data...
system_hooks.go Loading commit data...
tags.go Loading commit data...
time_stats.go Loading commit data...
users.go Loading commit data...