Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (31 sloc) 0.807 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 hasCachedChanges;
BOOL hasUnstagedChanges;
BOOL shouldBeDeleted;
// Index and HEAD stuff, to be used to revert changes
NSString *commitBlobSHA;
NSString *commitBlobMode;
PBChangedFileStatus status;
}
@property (copy) NSString *path, *commitBlobSHA, *commitBlobMode;
@property (assign) PBChangedFileStatus status;
@property (assign) BOOL hasCachedChanges, hasUnstagedChanges, shouldBeDeleted;
- (NSImage *)icon;
- (NSString *)indexInfo;
- (id) initWithPath:(NSString *)p;
@end
Jump to Line
Something went wrong with that request. Please try again.