src/routes.js
function accept_dir(filename, state) {
	state = state || {};
	debug.assert(filename).is('string');
	debug.assert(state).is('object');
	if(!state.directory) { return; }
	return true;
}
function accept_dir(filename, state) {
	state = state || {};
	debug.assert(filename).is('string');
	debug.assert(state).is('object');
	if(!state.directory) { return; }
	return true;
}
Returns true if file should be ignored