exports.isMarkdownFilename = function(filename) {
	return exports.endsWith(file, '.md') || exports.endsWith(file, '.markdown');
}

exports.isMarkdown = function(file, stats) {
	return stats.isFile() && (exports.endsWith(file, '.md') || exports.endsWith(file, '.markdown'));
}

var	S = require('string');

exports.isMarkdownFilename = function(filename) {
	return S(filename).endsWith('.md') || S(filename).endsWith('.markdown');
}

exports.isMarkdown = function(filename, stats) {
	return stats.isFile() && (S(filename).endsWith('.md') || S(filename).endsWith('.markdown'));
}

correct several bugs in reed-util