lib/block.js
function getFile(path) {
	const
		cache = validateCache(path, filesCache);

	if (!cache.fromCache) {
		filesCache[path] = {
			mtime: cache.mtime,
			content: fs.readFileSync(path, 'utf-8')
		};
	}

	return filesCache[path].content;
}
function getFile(path) {
	const
		cache = validateCache(path, filesCache);

	if (!cache.fromCache) {
		filesCache[path] = {
			mtime: cache.mtime,
			content: fs.readFileSync(path, 'utf-8')
		};
	}

	return filesCache[path].content;
}
function getFile ( path ) { const cache = validateCache ( path , filesCache ) ; if ( ! cache . fromCache ) { filesCache [ path ] = { mtime : cache . mtime , content : fs . readFileSync ( path , 'utf-8' ) } ; } return filesCache [ path ] . content ; }
Returns a file content by the specified path

@param {string} path
@returns {string}
Returns a file content by the specified path