lib/api/FileArray.js
function findByURL (files, url) {
  for (var i = 0; i < files.length; i++) {
    var file = files[i];
    if (file.url === url) {
      return file;
    }
  }
}
function findByURL (files, url) {
  for (var i = 0; i < files.length; i++) {
    var file = files[i];
    if (file.url === url) {
      return file;
    }
  }
}
function findByURL ( files , url ) { for ( var i = 0 ; i < files . length ; i ++ ) { var file = files [ i ] ; if ( file . url === url ) { return file ; } } }
Finds a file by its exact URL

@param {FileArray} files
@param {string} url
@returns {?File}
Finds a file by its exact URL