<commit_before>//
//  NSArray+StringArray.h
//  ObjectiveGitFramework
//
//  Created by <NAME> on 08/08/2013.
//  Copyright (c) 2013 GitHub, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <ObjectiveGit/git2/strarray.h>

@interface NSArray (StringArray)

// Creates and return a new `NSArray` of `NSString` given a `git_strarray`
//
// The `git_strarray` must still be freed using `git_strarray_free`. It also
// works on `NSMutableArray`, returning a mutable copy in this case.
//
// strarray - The `git_strarray` to convert.
//
// Returns a new array with the contents to strarray converted to NSStrings.
+ (instancetype)git_arrayWithStrarray:(git_strarray)strarray;

// Creates and returns a `git_strarray` given an `NSArray` of `NSString`s.<commit_msg>Revert change to the #import directive.<commit_after>//
//  NSArray+StringArray.h
//  ObjectiveGitFramework
//
//  Created by <NAME> on 08/08/2013.
//  Copyright (c) 2013 GitHub, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "git2.h"

@interface NSArray (StringArray)

// Creates and return a new `NSArray` of `NSString` given a `git_strarray`
//
// The `git_strarray` must still be freed using `git_strarray_free`. It also
// works on `NSMutableArray`, returning a mutable copy in this case.
//
// strarray - The `git_strarray` to convert.
//
// Returns a new array with the contents to strarray converted to NSStrings.
+ (instancetype)git_arrayWithStrarray:(git_strarray)strarray;

// Creates and returns a `git_strarray` given an `NSArray` of `NSString`s.
{'fraction_non_alphanumeric': 0.12132822477650064, 'fraction_numerical': 0.016602809706257982, 'mean_word_length': 3.943217665615142, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '2220406', 'n_tokens_mistral': 541, 'n_tokens_neox': 500, 'n_words': 168}