function putPart (info, callback) {
    if (!info.json) {
        return callback();
    }
    hooks.versionJson(info, callback, function() {
        writeJSONFile(path.join(info.json.name, info.version, 'index.json'), info.json, callback);
    });
}
//Always write it even if it is there.
Always write it even if it is there.
Always write it even if it is there .
function putPart (info, callback) {
    if (!info.json) {
        return callback();
    }
    hooks.versionJson(info, callback, function() {
        writeJSONFile(path.join(info.json.name, info.version, 'index.json'), info.json, callback);
    });
}
function putPart ( info , callback ) { if ( ! info . json ) { return callback ( ) ; } hooks . versionJson ( info , callback , function ( ) { writeJSONFile ( path . join ( info . json . name , info . version , 'index.json' ) , info . json , callback ) ; } ) ; }
Always write it even if it is there.
Always write it even if it is there .