@@ -55,7 +55,7 @@ export interface IGitApi extends basem.ClientApiBase {
55
55
updateImportRequest ( importRequestToUpdate : GitInterfaces . GitImportRequest , project : string , repositoryId : string , importRequestId : number ) : Promise < GitInterfaces . GitImportRequest > ;
56
56
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 > ;
57
57
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 [ ] > ;
59
59
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 > ;
60
60
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 > ;
61
61
getItemsBatch ( requestData : GitInterfaces . GitItemRequestData , repositoryId : string , project ?: string ) : Promise < GitInterfaces . GitItem [ ] [ ] > ;
@@ -2058,6 +2058,7 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
2058
2058
* @param {boolean } download - Set to true to download the response as a file. Default is false.
2059
2059
* @param {boolean } includeLinks - Set to true to include links to items. Default is false.
2060
2060
* @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
2061
2062
*/
2062
2063
public async getItems (
2063
2064
repositoryId : string ,
@@ -2068,7 +2069,8 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
2068
2069
latestProcessedChange ?: boolean ,
2069
2070
download ?: boolean ,
2070
2071
includeLinks ?: boolean ,
2071
- versionDescriptor ?: GitInterfaces . GitVersionDescriptor
2072
+ versionDescriptor ?: GitInterfaces . GitVersionDescriptor ,
2073
+ zipForUnix ?: boolean
2072
2074
) : Promise < GitInterfaces . GitItem [ ] > {
2073
2075
2074
2076
return new Promise < GitInterfaces . GitItem [ ] > ( async ( resolve , reject ) => {
@@ -2085,6 +2087,7 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
2085
2087
download : download ,
2086
2088
includeLinks : includeLinks ,
2087
2089
versionDescriptor : versionDescriptor ,
2090
+ zipForUnix : zipForUnix ,
2088
2091
} ;
2089
2092
2090
2093
try {
@@ -3286,7 +3289,7 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
3286
3289
3287
3290
try {
3288
3291
let verData : vsom . ClientVersioningData = await this . vsoClient . getVersioningData (
3289
- "7.1-preview.1 " ,
3292
+ "7.1-preview.2 " ,
3290
3293
"git" ,
3291
3294
"d43911ee-6958-46b0-a42b-8445b8a0d004" ,
3292
3295
routeValues ) ;
@@ -3339,7 +3342,7 @@ export class GitApi extends basem.ClientApiBase implements IGitApi {
3339
3342
3340
3343
try {
3341
3344
let verData : vsom . ClientVersioningData = await this . vsoClient . getVersioningData (
3342
- "7.1-preview.1 " ,
3345
+ "7.1-preview.2 " ,
3343
3346
"git" ,
3344
3347
"d43911ee-6958-46b0-a42b-8445b8a0d004" ,
3345
3348
routeValues ,
0 commit comments