mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
e232181fae
This allows to read in arbitrary blobs from the repository. For more information, see the CallingFromWebKit.txt document in the Documentation/ directory.
25 lines
464 B
Objective-C
25 lines
464 B
Objective-C
//
|
|
// PBGitXProtocol.h
|
|
// GitX
|
|
//
|
|
// Created by Pieter de Bie on 01-11-08.
|
|
// Copyright 2008 Pieter de Bie. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PBGitRepository.h"
|
|
|
|
@interface PBGitXProtocol : NSURLProtocol {
|
|
NSFileHandle *handle;
|
|
}
|
|
@end
|
|
|
|
@interface NSURLRequest (PBGitXProtocol)
|
|
@property (readonly) PBGitRepository *repository;
|
|
@end
|
|
|
|
@interface NSMutableURLRequest (PBGitXProtocol)
|
|
@property (retain) PBGitRepository *repository;
|
|
@end
|
|
|