@@ -55,7 +55,7 @@ export interface IGitApi extends basem.ClientApiBase {
5555 updateImportRequest ( importRequestToUpdate : GitInterfaces . GitImportRequest , project : string , repositoryId : string , importRequestId : number ) : Promise < GitInterfaces . GitImportRequest > ;
5656 getItem ( repositoryId : string , path : string , project ?: string , scopePath ?: string , recursionLevel ?: GitInterfaces . VersionControlRecursionType , includeContentMetadata ?: boolean , latestProcessedChange ?: boolean , download ?: boolean , versionDescriptor ?: GitInterfaces . GitVersionDescriptor , includeContent ?: boolean , resolveLfs ?: boolean , sanitize ?: boolean ) : Promise < GitInterfaces . GitItem > ;
5757 getItemContent ( repositoryId : string , path : string , project ?: string , scopePath ?: string , recursionLevel ?: GitInterfaces . VersionControlRecursionType , includeContentMetadata ?: boolean , latestProcessedChange ?: boolean , download ?: boolean , versionDescriptor ?: GitInterfaces . GitVersionDescriptor , includeContent ?: boolean , resolveLfs ?: boolean , sanitize ?: boolean ) : Promise < NodeJS . ReadableStream > ;
58- getItems ( repositoryId : string , project ?: string , scopePath ?: string , recursionLevel ?: GitInterfaces . VersionControlRecursionType , includeContentMetadata ?: boolean , latestProcessedChange ?: boolean , download ?: boolean , includeLinks ?: boolean , versionDescriptor ?: GitInterfaces . GitVersionDescriptor ) : Promise < GitInterfaces . GitItem [ ] > ;
58+ getItems ( repositoryId : string , project ?: string , scopePath ?: string , recursionLevel ?: GitInterfaces . VersionControlRecursionType , includeContentMetadata ?: boolean , latestProcessedChange ?: boolean , download ?: boolean , includeLinks ?: boolean , versionDescriptor ?: GitInterfaces . GitVersionDescriptor , zipForUnix ?: boolean ) : Promise < GitInterfaces . GitItem [ ] > ;
5959 getItemText ( repositoryId : string , path : string , project ?: string , scopePath ?: string , recursionLevel ?: GitInterfaces . VersionControlRecursionType , includeContentMetadata ?: boolean , latestProcessedChange ?: boolean , download ?: boolean , versionDescriptor ?: GitInterfaces . GitVersionDescriptor , includeContent ?: boolean , resolveLfs ?: boolean , sanitize ?: boolean ) : Promise < NodeJS . ReadableStream > ;
6060 getItemZip ( repositoryId : string , path : string , project ?: string , scopePath ?: string , recursionLevel ?: GitInterfaces . VersionControlRecursionType , includeContentMetadata ?: boolean , latestProcessedChange ?: boolean , download ?: boolean , versionDescriptor ?: GitInterfaces . GitVersionDescriptor , includeContent ?: boolean , resolveLfs ?: boolean , sanitize ?: boolean ) : Promise < NodeJS . ReadableStream > ;
6161 getItemsBatch ( requestData : GitInterfaces . GitItemRequestData , repositoryId : string , project ?: string ) : Promise < GitInterfaces . GitItem [ ] [ ] > ;
@@ -2058,6 +2058,7 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
20582058 * @param {boolean } download - Set to true to download the response as a file. Default is false.
20592059 * @param {boolean } includeLinks - Set to true to include links to items. Default is false.
20602060 * @param {GitInterfaces.GitVersionDescriptor } versionDescriptor - Version descriptor. Default is the default branch for the repository.
2061+ * @param {boolean } zipForUnix - Set to true to keep the file permissions for unix (and POSIX) systems like executables and symlinks
20612062 */
20622063 public async getItems (
20632064 repositoryId : string ,
@@ -2068,7 +2069,8 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
20682069 latestProcessedChange ?: boolean ,
20692070 download ?: boolean ,
20702071 includeLinks ?: boolean ,
2071- versionDescriptor ?: GitInterfaces . GitVersionDescriptor
2072+ versionDescriptor ?: GitInterfaces . GitVersionDescriptor ,
2073+ zipForUnix ?: boolean
20722074 ) : Promise < GitInterfaces . GitItem [ ] > {
20732075
20742076 return new Promise < GitInterfaces . GitItem [ ] > ( async ( resolve , reject ) => {
@@ -2085,6 +2087,7 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
20852087 download : download ,
20862088 includeLinks : includeLinks ,
20872089 versionDescriptor : versionDescriptor ,
2090+ zipForUnix : zipForUnix ,
20882091 } ;
20892092
20902093 try {
@@ -3286,7 +3289,7 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
32863289
32873290 try {
32883291 let verData : vsom . ClientVersioningData = await this . vsoClient . getVersioningData (
3289- "7.1-preview.1 " ,
3292+ "7.1-preview.2 " ,
32903293 "git" ,
32913294 "d43911ee-6958-46b0-a42b-8445b8a0d004" ,
32923295 routeValues ) ;
@@ -3339,7 +3342,7 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
33393342
33403343 try {
33413344 let verData : vsom . ClientVersioningData = await this . vsoClient . getVersioningData (
3342- "7.1-preview.1 " ,
3345+ "7.1-preview.2 " ,
33433346 "git" ,
33443347 "d43911ee-6958-46b0-a42b-8445b8a0d004" ,
33453348 routeValues ,
0 commit comments