<commit_before>// Copyright (c) 2018 <NAME>
// Licensed under MIT License
//
// See LICENSE for license information

import Foundation

/// A type that represents a container with files, directories and/or other data.
public protocol Container {

    associatedtype Entry: ContainerEntry

    /// Retrieve all the entries with their data from the container.
    static func open(container: Data) throws -> [Entry]

    /// Retrieve information abouth all the entries from the container (without their data).
    static func info(container: Data) throws -> [Entry.Info]

}
<commit_msg>[docs] Fix typo in Container protocol<commit_after>// Copyright (c) 2018 <NAME>
// Licensed under MIT License
//
// See LICENSE for license information

import Foundation

/// A type that represents a container with files, directories and/or other data.
public protocol Container {

    associatedtype Entry: ContainerEntry

    /// Retrieve all container entries with their data.
    static func open(container: Data) throws -> [Entry]

    /// Retrieve information about all container entries (without their data).
    static func info(container: Data) throws -> [Entry.Info]

}

{'fraction_non_alphanumeric': 0.08583690987124463, 'fraction_numerical': 0.0068669527896995704, 'mean_word_length': 3.5546875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '3616900', 'n_tokens_mistral': 294, 'n_tokens_neox': 276, 'n_words': 135}