mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
d3d700a138
Will clone an open repository to a folder. Opens a sheet with a custom accessory view that has a checkbox to allow creating a bare repo.
34 lines
656 B
Objective-C
34 lines
656 B
Objective-C
//
|
|
// PBCloneRepsitoryToSheet.h
|
|
// GitX
|
|
//
|
|
// Created by Nathan Kinsinger on 2/7/10.
|
|
// Copyright 2010 Nathan Kinsinger. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
@class PBGitRepository;
|
|
|
|
@interface PBCloneRepsitoryToSheet : NSWindowController {
|
|
PBGitRepository *repository;
|
|
|
|
BOOL isBare;
|
|
|
|
NSTextField *message;
|
|
NSView *cloneToAccessoryView;
|
|
}
|
|
|
|
+ (void) beginCloneRepsitoryToSheetForRepository:(PBGitRepository *)repo;
|
|
|
|
|
|
@property (readwrite) PBGitRepository *repository;
|
|
|
|
@property (readwrite) BOOL isBare;
|
|
|
|
@property (readwrite) IBOutlet NSTextField *message;
|
|
@property (readwrite) IBOutlet NSView *cloneToAccessoryView;
|
|
|
|
@end
|