lib/adapters/local.js
/**
	 * Get a stream to the file's contents.
	 *
	 * @param path
	 */
Get a stream to the file's contents.
@param path
Get a stream to the file ' s contents . @param path
readStream(path) {
		path = this.applyPrefix(path);
		return new Promise((resolve, reject) => {
			const out = fs.createReadStream(path);
			if (out) {
				resolve(out);
			} else {
				reject();
			}
		});
	}
readStream ( path ) { path = this . applyPrefix ( path ) ; return new Promise ( ( resolve , reject ) => { const out = fs . createReadStream ( path ) ; if ( out ) { resolve ( out ) ; } else { reject ( ) ; } } ) ; }
Get a stream to the file's contents.
Get a stream to the file ' s contents .