<commit_before>/*
 * Copyright (c) 2012-2015 <NAME> and individual contributors.
 * License: https://github.com/taylor001/crown/blob/master/LICENSE
 */

#pragma once

#include "file.h"
#include <sys/types.h>
#include <android/asset_manager.h>

namespace crown
{

class ApkFile : public File
{
public:

	ApkFile(AAssetManager* asset_manager);
	~ApkFile();

	/// @copydoc File::open()
	void open(const char* path, FileOpenMode::Enum mode);

	/// @copydoc File::close()
	void close();

	/// @copydoc File::seek()
	void seek(uint32_t position);
<commit_msg>Add docs<commit_after>/*
 * Copyright (c) 2012-2015 <NAME> and individual contributors.
 * License: https://github.com/taylor001/crown/blob/master/LICENSE
 */

#pragma once

#include "file.h"
#include <sys/types.h>
#include <android/asset_manager.h>

namespace crown
{

/// Provides common facilities to access Android APK files.
///
/// @ingroup Filesystem
class ApkFile : public File
{
public:

	ApkFile(AAssetManager* asset_manager);
	~ApkFile();

	/// @copydoc File::open()
	void open(const char* path, FileOpenMode::Enum mode);

	/// @copydoc File::close()
	void close();

	/// @copydoc File::seek()
	void seek(uint32_t position);

{'fraction_non_alphanumeric': 0.15895710681244743, 'fraction_numerical': 0.021867115222876366, 'mean_word_length': 4.336322869955157, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '6694795', 'n_tokens_mistral': 435, 'n_tokens_neox': 405, 'n_words': 101}