-
Notifications
You must be signed in to change notification settings - Fork 602
/
Copy pathPBGitCommit.h
36 lines (31 loc) · 854 Bytes
/
PBGitCommit.h
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
//
// PBGitCommit.h
// GitTest
//
// Created by Pieter de Bie on 13-06-08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "PBGitRepository.h"
#import "PBGitTree.h"
@interface PBGitCommit : NSObject {
NSString* sha;
NSString* subject;
NSString* author;
NSString* details;
NSArray* parents;
NSDate* date;
PBGitRepository* repository;
}
- initWithRepository:(PBGitRepository*) repo andSha:(NSString*) sha;
@property (copy) NSString* sha;
@property (copy) NSString* subject;
@property (copy) NSString* author;
@property (retain) NSArray* parents;
@property (copy) NSDate* date;
@property (readonly) NSString* dateString;
@property (readonly) NSString* details;
@property (readonly) PBGitTree* tree;
@property (readonly) NSArray* treeContents;
@property (retain) PBGitRepository* repository;
@end