Files
gitx/PBWebCommitController.h
T
2011-06-12 09:25:37 -06:00

38 lines
959 B
Objective-C

//
// PBWebCommitController.h
//
// Created by David Catmull on 10-06-11.
//
#import <Cocoa/Cocoa.h>
#import "PBWebController.h"
#import "PBRefContextDelegate.h"
@class NSString;
@class PBGitCommit;
// Displays the diff from a commit in the repository.
@interface PBWebCommitController : PBWebController {
IBOutlet id<PBRefContextDelegate> contextMenuDelegate;
NSString* currentSha;
NSString* diff;
}
- (void) changeContentTo: (PBGitCommit *) content;
- (void) sendKey: (NSString*) key;
- (NSString *) parseHeader:(NSString *)txt withRefs:(NSString *)badges;
- (NSMutableDictionary *)parseStats:(NSString *)txt;
- (NSString *) arbitraryHashForString:(NSString*)concat;
- (void) openFileMerge:(NSString*)file sha:(NSString *)sha sha2:(NSString *)sha2;
- (void) didLoad;
- (NSString*) refsForCurrentCommit;
- (PBGitRef*) refFromString:(NSString*)refString;
- (NSArray*) menuItemsForPath:(NSString*)path;
@property (readonly) NSString* diff;
@end