# README
Version Control Service
Service Id | Action | Description | Request | Response |
---|---|---|---|---|
version/control | status | run version control check on provided URL | StatusRequest | Info |
version/control | checkout | if target directory already exist with matching origin URL, this action only pulls the latest changes without overriding local ones, otherwise full checkout | CheckoutRequest | Info |
version/control | commit | commit commits local changes to the version control | CommitRequest | Info |
version/control | pull | retrieve the latest changes from the origin | PullRequest | Info |
# Functions
New creates a new version control service (git,svn).
# Constants
CredentialKey represents credentials key.
ServiceID version control service id.
# Structs
CheckoutRequest represents checkout request.
CheckoutResponse represents checkout response.
CommitRequest represents a commit request.
CommitResponse represents a commit response.
Info represents version control info.
PullRequest represents a pull request.
PullResponse represents a pull response.
StatusRequest represents version control status.
StatusResponse represents version control status response.