5 // Created by Pieter de Bie on 22-09-08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
9 #import <Cocoa/Cocoa.h>
10 #import "PBGitRepository.h"
16 } PBChangedFileStatus
;
18 @interface PBChangedFile
: NSObject
{
20 BOOL hasStagedChanges
;
21 BOOL hasUnstagedChanges
;
23 // Index and HEAD stuff, to be used to revert changes
24 NSString
*commitBlobSHA
;
25 NSString
*commitBlobMode
;
27 PBChangedFileStatus status
;
31 @
property (copy
) NSString
*path
, *commitBlobSHA
, *commitBlobMode
;
32 @
property (assign
) PBChangedFileStatus status
;
33 @
property (assign
) BOOL hasStagedChanges
, hasUnstagedChanges
;
36 - (NSString
*)indexInfo
;
38 - (id
) initWithPath
:(NSString
*)p
;