<commit_before>#include "path.h"

#ifdef _WIN32
#include <windows.h>
#elif __linux__
#include <limits.h>
#include <stdlib.h>
#else
#warning file::path is incompatible with target OS!
#endif

namespace z
{
	namespace file
	{
		core::string<utf8> path(const core::string<utf8>& filePath)
		{
#			ifdef _WIN32
			TCHAR fullPath[MAX_PATH];
			GetFullPathName(_T((const char*)filePath.cstring()), MAX_PATH, fullPath, NULL);
#			elif __linux__
			char fullPath[PATH_MAX];
			realpath((const char*)filePath.cstring(), fullPath);
#			else
			auto fullPath = filePath;
#			endif

			return fullPath;
		}
	}
}<commit_msg>Fixed missing header for windows<commit_after>#include "path.h"

#ifdef _WIN32
#include <Tchar.h>
#include <windows.h>
#elif __linux__
#include <limits.h>
#include <stdlib.h>
#else
#warning file::path is incompatible with target OS!
#endif

namespace z
{
	namespace file
	{
		core::string<utf8> path(const core::string<utf8>& filePath)
		{
#			ifdef _WIN32
			TCHAR fullPath[MAX_PATH];
			GetFullPathName(_T((const char*)filePath.cstring()), MAX_PATH, fullPath, NULL);
#			elif __linux__
			char fullPath[PATH_MAX];
			realpath((const char*)filePath.cstring(), fullPath);
#			else
			auto fullPath = filePath;
#			endif

			return fullPath;
		}
	}
}
{'fraction_non_alphanumeric': 0.13174603174603175, 'fraction_numerical': 0.009523809523809525, 'mean_word_length': 4.7318181818181815, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '1496619', 'n_tokens_mistral': 506, 'n_tokens_neox': 456, 'n_words': 110}