Add lbry.getFilesInfo()

This commit is contained in:
Alex Liebowitz 2016-05-10 06:31:57 -04:00
parent 9a2125ae4a
commit a6b97d75ab

View file

@ -103,6 +103,10 @@ lbry.getFileStatus = function(name, callback) {
lbry.call('get_lbry_file', { 'name': name }, callback); lbry.call('get_lbry_file', { 'name': name }, callback);
} }
lbry.getFilesInfo = function(callback) {
lbry.call('get_lbry_files', {}, callback);
}
lbry.getVersionInfo = function(callback) { lbry.getVersionInfo = function(callback) {
lbry.call('version', {}, callback); lbry.call('version', {}, callback);
}; };