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 hasCachedChanges
;
21 BOOL hasUnstagedChanges
;
24 // Index and HEAD stuff, to be used to revert changes
25 NSString
*commitBlobSHA
;
26 NSString
*commitBlobMode
;
28 PBChangedFileStatus status
;
32 @
property (copy
) NSString
*path
, *commitBlobSHA
, *commitBlobMode
;
33 @
property (assign
) PBChangedFileStatus status
;
34 @
property (assign
) BOOL hasCachedChanges
, hasUnstagedChanges
, shouldBeDeleted
;
37 - (NSString
*)indexInfo
;
39 - (id
) initWithPath
:(NSString
*)p
;