Merge branch 'pu/pb/index_quick_fix' into stable
[GitX.git] / PBGitRevSpecifier.h
blob1be1199da7c078ba79a28c46d85f112014d9ba16
1 //
2 // PBGitRevSpecifier.h
3 // GitX
4 //
5 // Created by Pieter de Bie on 12-09-08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
10 #import <PBGitRef.h>
12 @interface PBGitRevSpecifier : NSObject {
13 NSString* description;
14 NSArray* parameters;
17 - (id) initWithParameters:(NSArray*) params;
18 - (id) initWithRef: (PBGitRef*) ref;
20 - (BOOL) isSimpleRef;
21 - (NSString*) simpleRef;
22 - (BOOL) hasPathLimiter;
23 - (BOOL) hasLeftRight;
25 - (BOOL) isEqualTo: (PBGitRevSpecifier*) other;
27 + (PBGitRevSpecifier *)allBranchesRevSpec;
28 + (PBGitRevSpecifier *)localBranchesRevSpec;
30 @property(copy) NSString* description;
31 @property(readonly) NSArray* parameters;
32 @end