1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00

adding comments

This commit is contained in:
Alex Kocharin 2013-09-27 04:26:15 +04:00
parent 7dbe61b8d5
commit ff4778e3c6

@ -92,7 +92,10 @@ Storage.prototype.add_tarball = function(name, filename) {
//
// Function is syncronous and returns a ReadableStream
//
// TODO: badly documented
// Function tries to read tarball locally, if it fails then it reads package
// information in order to figure out where we can get this tarball from
//
// Used storages: local || uplink (just one)
//
Storage.prototype.get_tarball = function(name, filename) {
var stream = through(function(data) {