Sha256: c21c34af7866b2fadad401bdbe72fbcf69b52c7062f8ca56d03bc9654df72116
Contents?: true
Size: 631 Bytes
Versions: 189
Compression:
Stored size: 631 Bytes
Contents
/** * @ngdoc service * @name Bastion.repository.service:YumContentUnits * * @requires translate * * @description * Provides content type units for yum */ angular.module('Bastion.repositories').service('YumContentUnits', ['translate', function (translate) { this.units = { 'rpm': translate('RPM'), 'drpm': translate('Delta RPM'), 'srpm': translate('Source RPM'), 'erratum': translate('Errata'), 'distribution': translate('Distribution') }; this.unitName = function (unit) { return this.units[unit]; }; }] );
Version data entries
189 entries across 189 versions & 1 rubygems