<commit_before>
var SC=µ.shortcut({
	Config:"Config",
	File:"File"
});

var config=SC.Config.parse({
	"create Package":{
		type:"boolean",
		default:true
	},
	"append CRC32":{
		type:"boolean",
		default:true
	},
	"check name":{
		type:"boolean",
		default:true
	},
	"clean name":{
		type:"boolean",
		default:true
	},
	"file expiration":{
		type:"number",
		min:0,
		default:6
	},
	"search timeout":{
		type:"number",
		min:500,
		max:50000,
		default:15000
	},
	"search sources":{
		type:"map",
		model:{
			type:"boolean",
			default:true
		}
	}
});

module.exports=worker.configManager(config);
module.exports.config=config;

new SC.File("subOffices").listFiles().then(function(subOfficeList)
{

	var searchSources=config.get("search sources");
	for(var subOffice of subOfficeList)
	{
		searchSources.add(subOffice);
	}
});<commit_msg>move configManager to util folder and add resouceFolder to µ<commit_after>
var SC=µ.shortcut({
	Config:"Config",
	File:"File"
});

var config=SC.Config.parse({
	"create Package":{
		type:"boolean",
		default:true
	},
	"append CRC32":{
		type:"boolean",
		default:true
	},
	"check name":{
		type:"boolean",
		default:true
	},
	"clean name":{
		type:"boolean",
		default:true
	},
	"file expiration":{
		type:"number",
		min:0,
		default:6
	},
	"search timeout":{
		type:"number",
		min:500,
		max:50000,
		default:15000
	},
	"search sources":{
		type:"map",
		model:{
			type:"boolean",
			default:true
		}
	}
});

module.exports=µ.getModule("configManager")(config);
module.exports.config=config;

new SC.File("subOffices").listFiles().then(function(subOfficeList)
{

	var searchSources=config.get("search sources");
	for(var subOffice of subOfficeList)
	{
		searchSources.add(subOffice);
	}
});
{'fraction_non_alphanumeric': 0.18118869013271782, 'fraction_numerical': 0.019619157530294286, 'mean_word_length': 4.78, 'pattern_counts': {'":': 14, '<': 3, '<?xml version=': 0, '>': 3, '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': '3165490', 'n_tokens_mistral': 723, 'n_tokens_neox': 631, 'n_words': 113}