Sha256: 49e5b5f75f059fe01787495dc52305c0f46673e25e515ea12f88990e485509a4
Contents?: true
Size: 464 Bytes
Versions: 146
Compression:
Stored size: 464 Bytes
Contents
module Katello class FileUnit < Katello::Model self.table_name = 'katello_files' include Concerns::PulpDatabaseUnit CONTENT_TYPE = 'file'.freeze scoped_search :on => :name, :complete_value => true scoped_search :on => :path, :complete_value => true scoped_search :on => :checksum def self.default_sort order(:name) end def self.total_for_repositories(repos) self.in_repositories(repos).count end end end
Version data entries
146 entries across 146 versions & 1 rubygems