<commit_before>//
//  GITObjectStore.h
//  CocoaGit
//
//  Created by <NAME> on 09/10/2008.
//  Copyright 2008 <EMAIL>. All rights reserved.
//

#import <Cocoa/Cocoa.h>

/*! Generic object storage class.
 * Desendants of GITObjectStore implement different ways of
 * accessing the objects of a repository. 
 */
@interface GITObjectStore : NSObject
{
}

/*! Creates and returns a new store object from the provided .git root
 * \param root Path to the .git root directory
 * \return A new store object.
 */
- (id)initWithRoot:(NSString*)root;

/*! Returns the contents of an object for the given <tt>sha1</tt>.
 * The data returned should be in a form which is usable to initialise an
 * object. If the data is stored compressed or encrypted it should be
 * decompressed or decrypted before returning.
 * \param sha1 The object reference to return the data for
 * \return Contents of an object
 */
- (NSData*)dataWithContentsOfObject:(NSString*)sha1;
@end<commit_msg>Note those methods which need to be overridden<commit_after>//
//  GITObjectStore.h
//  CocoaGit
//
//  Created by <NAME> on 09/10/2008.
//  Copyright 2008 Man<EMAIL>. All rights reserved.
//

#import <Cocoa/Cocoa.h>

/*! Generic object storage class.
 * Desendants of GITObjectStore implement different ways of
 * accessing the objects of a repository. 
 */
@interface GITObjectStore : NSObject
{
}

/*! Creates and returns a new store object from the provided .git root
 * \attention This method must be overridden
 * \param root Path to the .git root directory
 * \return A new store object.
 */
- (id)initWithRoot:(NSString*)root;

/*! Returns the contents of an object for the given <tt>sha1</tt>.
 * The data returned should be in a form which is usable to initialise an
 * object. If the data is stored compressed or encrypted it should be
 * decompressed or decrypted before returning.
 * \attention This method must be overridden
 * \param sha1 The object reference to return the data for
 * \return Contents of an object
 */
- (NSData*)dataWithContentsOfObject:(NSString*)sha1;
@end
{'fraction_non_alphanumeric': 0.09426627793974733, 'fraction_numerical': 0.014577259475218658, 'mean_word_length': 3.6373873873873874, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4391737', 'n_tokens_mistral': 631, 'n_tokens_neox': 581, 'n_words': 258}