struct Repo::Owner::Metrics

Defined in:

repo/owner.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(shards_count : Int32, dependents_count : Int32, transitive_dependents_count : Int32, dev_dependents_count : Int32, transitive_dependencies_count : Int32, dev_dependencies_count : Int32, dependencies_count : Int32, popularity : Float32, created_at : Time | Nil = nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(shards_count _shards_count = @shards_count, dependents_count _dependents_count = @dependents_count, transitive_dependents_count _transitive_dependents_count = @transitive_dependents_count, dev_dependents_count _dev_dependents_count = @dev_dependents_count, transitive_dependencies_count _transitive_dependencies_count = @transitive_dependencies_count, dev_dependencies_count _dev_dependencies_count = @dev_dependencies_count, dependencies_count _dependencies_count = @dependencies_count, popularity _popularity = @popularity, created_at _created_at = @created_at) #

[View source]
def created_at : Time | Nil #

def dependencies_count : Int32 #

def dependents_count : Int32 #

def dev_dependencies_count : Int32 #

def dev_dependents_count : Int32 #

def popularity : Float32 #

def shards_count : Int32 #

def transitive_dependencies_count : Int32 #

def transitive_dependents_count : Int32 #