<commit_before>#include "TextureConverter.h"


namespace ConverterFuncs {

	void Print(const string & text)
	{
		outputLog.push_back("\r\n" + text);
	}
	void delUseless(const string& path)
	{
		for (auto & p : fs::recursive_directory_iterator(path))
		{
			if (fs::path(p).extension() == ".ini" || fs::path(p).extension() == ".bd" ||
				fs::path(p).extension() == ".mcmeta" || fs::path(p).extension() == ".DS_Store")
			{
				Print("Deleting: " + fs::path(p).string());
				fs::remove(p, err);
				Print(err.message());
			}
		}
	}
	void fsCopy(const string& old_, const string& new_)
	{
		if (fs::exists(old_))
		{
			Print("Coping: " + old_);
			fs::copy(old_, new_, err);
			Print(err.message());
		}
	}
	void fsCopyDir(const string& old_, const string& new_)
	{
		if (fs::exists(old_))
		{
			Print("Coping: " + old_);
			fs::copy(old_, new_, fs::copy_options::recursive, err);
			Print(err.message());
		}
	}
	void fsRename(const string& old_, const string& new_)
	{
		if (fs::exists(old_))
		{
			Print("Renaming: " + old_);
			fs::rename(old_, new_, err);
			Print(err.message());
		}
	}
	void fsRemove(const string& path)
	{
		if (fs::exists(path))
		{
			Print("Deleting: " + path);
			fs::remove(path, err);
			Print(err.message());
		}
	}
	void fsRemoveAll(const string& path)
	{
		if (fs::exists(path))
		{<commit_msg>Fixed spelling mistake Coping -> Copying<commit_after>#include "TextureConverter.h"


namespace ConverterFuncs {

	void Print(const string & text)
	{
		outputLog.push_back("\r\n" + text);
	}
	void delUseless(const string& path)
	{
		for (auto & p : fs::recursive_directory_iterator(path))
		{
			if (fs::path(p).extension() == ".ini" || fs::path(p).extension() == ".bd" ||
				fs::path(p).extension() == ".mcmeta" || fs::path(p).extension() == ".DS_Store")
			{
				Print("Deleting: " + fs::path(p).string());
				fs::remove(p, err);
				Print(err.message());
			}
		}
	}
	void fsCopy(const string& old_, const string& new_)
	{
		if (fs::exists(old_))
		{
			Print("Copying: " + old_);
			fs::copy(old_, new_, err);
			Print(err.message());
		}
	}
	void fsCopyDir(const string& old_, const string& new_)
	{
		if (fs::exists(old_))
		{
			Print("Copying: " + old_);
			fs::copy(old_, new_, fs::copy_options::recursive, err);
			Print(err.message());
		}
	}
	void fsRename(const string& old_, const string& new_)
	{
		if (fs::exists(old_))
		{
			Print("Renaming: " + old_);
			fs::rename(old_, new_, err);
			Print(err.message());
		}
	}
	void fsRemove(const string& path)
	{
		if (fs::exists(path))
		{
			Print("Deleting: " + path);
			fs::remove(path, err);
			Print(err.message());
		}
	}
	void fsRemoveAll(const string& path)
	{
		if (fs::exists(path))
		{
{'fraction_non_alphanumeric': 0.20438498699368265, 'fraction_numerical': 0.0, 'mean_word_length': 3.747795414462081, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5891698', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1039, 'n_words': 194}