server/boot/load-model.js
function releaseSnapshot(app, uid, cb) {
  logger.debug('releaseSnapshot entry');

  app.models.snapshot.release(uid,
    function(err) {
      if (err) {
        logger.error(err);
      }
      logger.debug('releaseSnapshot exit');
      if (cb) {
        cb(err);
      }
    });
}
function releaseSnapshot(app, uid, cb) {
  logger.debug('releaseSnapshot entry');

  app.models.snapshot.release(uid,
    function(err) {
      if (err) {
        logger.error(err);
      }
      logger.debug('releaseSnapshot exit');
      if (cb) {
        cb(err);
      }
    });
}
function releaseSnapshot ( app , uid , cb ) { logger . debug ( 'releaseSnapshot entry' ) ; app . models . snapshot . release ( uid , function ( err ) { if ( err ) { logger . error ( err ) ; } logger . debug ( 'releaseSnapshot exit' ) ; if ( cb ) { cb ( err ) ; } } ) ; }
Releases reference on snapshot instance in snapshot model
@param {???} app - loopback application
@param {string} uid - snapshot identifier
Releases reference on snapshot instance in snapshot model