deleteTFSRepository: Delete a git repository in an existing TFS (Git) Project

Description Usage Arguments Value Examples

Description

This attempts to delete a repository and returns whether the operation was successful

Usage

1
deleteTFSRepository(URL, Credentials, Repo, ..., URLSub = "DefaultCollection")

Arguments

URL

URL for root TFS e.g. http://stephlocke.visualstudio.com

Credentials

TFSAuth object

Repo

Name of repository to be deleted

...

Additional arguments to httr::DELETE

URLSub

Modify this if you need to reference somewhere other than DefaultCollection

Value

Result String containing delete status

Examples

1
2
3
4
5
6
7
tfs        <- "https://stephlocke.visualstudio.com"
authcreds  <- TFSAuth(pwd="fz43enydh7vi2o6jqir2gmftohh7ooz2lizqvy6jxtw4ltrpwola")
parentproj <- "tfsr3"
newrepo    <- as.character(random::randomStrings(n=1, len=6))
createdrepo  <- createTFSRepository(tfs,authcreds,parentproj,newrepo)

deleteTFSRepository(tfs,authcreds,newrepo)

stephlocke/tfsR documentation built on May 30, 2019, 4:41 p.m.