Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//
// HCPManifestDiff.h
//
// Created by Nikolay Demyankov on 10.08.15.
//
#import <Foundation/Foundation.h>
#import "HCPManifestFile.h"
/**
* Model describes difference between two manifest files.
*/
@interface HCPManifestDiff : NSObject
/**
* Getter for the combined list of added and changed files.
*
* @return array of HCPManifestFile objects
* @see HCPManifestFile
*/
@property (nonatomic, strong, readonly) NSArray *updateFileList;
/**
* Check if there is no defference between the manifests.
*/
@property (nonatomic, readonly, getter=isEmpty) BOOL isEmpty;
/**
* Getter for the list of new files, that were added to the project.
*
* @return array of HCPManifestFile objects
* @see HCPManifestFile
*/
@property (nonatomic, strong, readonly) NSArray *addedFiles;
/**
* Getter for the list of existing files that has been changed.
*
* @return array of HCPManifestFile objects
* @see HCPManifestFile
*/
@property (nonatomic, strong, readonly) NSArray *changedFiles;
/**
* Getter for the list of deleted files.
*
* @return array of HCPManifestFile objects
* @see HCPManifestFile
*/
@property (nonatomic, strong, readonly) NSArray *deletedFiles;
/**
* Object initializer
*
* @param addedFiles list of added files
* @param changedFiles list of changed files
* @param deletedFiles list of deleted files
*
* @return instance of the object
* @see HCPManifestFile
*/
- (instancetype)initWithAddedFiles:(NSArray *)addedFiles changedFiles:(NSArray *)changedFiles deletedFiles:(NSArray *)deletedFiles;
@end