Description Usage Arguments Value Examples
This produces a repository and returns the URL that can be used for pushing/pulling
| 1 2 | createTFSRepository(URL, Credentials, ParentProject, NewRepo, ...,
  URLSub = "DefaultCollection")
 | 
| URL | URL for root TFS e.g. http://stephlocke.visualstudio.com | 
| Credentials | 
 | 
| ParentProject | Name of parent project to store repository in | 
| NewRepo | Name for new repository | 
| ... | Additional arguments to httr::POST | 
| URLSub | Modify this if you need to reference somewhere other than DefaultCollection | 
RepoURL String containing location of repository
| 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)
deleted<-deleteTFSRepository(tfs,authcreds,newrepo)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.