Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (29 sloc) 0.679 kb
//
// PBChangedFile.h
// GitX
//
// Created by Pieter de Bie on 22-09-08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "PBGitRepository.h"
typedef enum {
NEW,
MODIFIED,
DELETED
} PBChangedFileStatus;
@interface PBChangedFile : NSObject {
NSString *path;
BOOL cached;
__weak PBGitRepository *repository;
PBChangedFileStatus status;
}
@property (readonly) NSString *path;
@property (assign) PBChangedFileStatus status;
@property (assign) BOOL cached;
- (NSImage *)icon;
- (NSString *)changes;
- (void) stageChanges;
- (void) unstageChanges;
- (id) initWithPath:(NSString *)p andRepository:(PBGitRepository *)r;
@end
Jump to Line
Something went wrong with that request. Please try again.