github :: BranchRepo
github :: BranchRepo :: defaultinit
github :: BranchRepo :: find_by_repo
github $ BranchRepo :: SELF
Type of this instance, automatically specialized in every classpopcorn :: MongoRepository :: _collection
MongoDB collection used to store objectscore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
popcorn :: MongoRepository :: collection
MongoDB collection used to store objectspopcorn :: MongoRepository :: collection=
MongoDB collection used to store objectspopcorn :: Repository :: defaultinit
popcorn :: JsonRepository :: defaultinit
core :: Object :: defaultinit
github :: BranchRepo :: defaultinit
popcorn :: Repository :: deserialize
Deserialize astring
to an instance.
popcorn :: Repository :: find_by_id
Find an instance by it'sid
github :: BranchRepo :: find_by_repo
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).popcorn :: Repository :: remove_all
Remove all the instances matching onquery
popcorn :: Repository :: remove_by_id
Remove the instance withid
class BranchRepo
super MongoRepository[Branch]
fun find_by_repo(repo: Repo): Array[Branch] do
return find_all((new MongoMatch).eq("repo.full_name", repo.full_name))
end
end
lib/github/loader.nit:473,1--479,3