#import <GITCombinedStore.h>
Inherits GITObjectStore.

Public Member Functions | |
| (id) | - init |
| (id) | - initWithStores: |
| (void) | - addStore: |
| (void) | - addStores: |
| (void) | - addStore:priority: |
Protected Attributes | |
| GITObjectStore * | recentStore |
Properties | |
| NSMutableArray * | stores |
| - (void) addStore: | (GITObjectStore*) | store |
Adds a store to the receiver with the Normal priority.
| store | The GITObjectStore instance to add to the receiver |
| - (void) addStore: | (GITObjectStore*) | store | ||
| priority: | (GITCombinedStorePriority) | priority | ||
Adds a store to the receiver with priority.
| store | The GITObjectStore instance to add to the receiver | |
| priority | The priority indicates where the list of stores the store should be placed. If you want the store to be checked first then you can pass a higher priority. |
< Added as we might well need to retain this before it goes into the array
| - (void) addStores: | (GITObjectStore*) | firstStore | ||
| , | ... | |||
Adds a list of stores to the receiver with normal priority.
| firstStore | A variable nil terminated list of stores to add to the receiver |
| - (id) init |
Creates and returns a new combined store. The newly created store will have no internal stores until you add them with a call to -addStore: or -addStore:priority:.
| - (id) initWithStores: | (GITObjectStore*) | firstStore | ||
| , | ... | |||
Creates and returns a new combined store with the provided stores. The newly created store will be composed of the stores provided.
| firstStore | A variable nil terminated list of stores to add to the receiver. The stores will be added with the Normal priority. |
- (GITObjectStore*) recentStore [protected] |
- (NSMutableArray *) stores [read, retain] |
1.5.7