public/git/Get-PSTSGitRepositoryRef.ps1
function Get-PSTSGitRepositoryRef { param( [Parameter(Mandatory=$true)][string] $project, [Parameter(Mandatory=$true)][string] $id ) process { $content = ` _PSTSAPI ` -resource "git/repositories/$id/refs" ` -method "GET" ` -project $project return [GitRepositoryRef[]]$content.value } } |