(refs #2)Implementing the comparing view.

This commit is contained in:
takezoe
2013-07-13 20:09:19 +09:00
parent 2cc2902930
commit eb82af9006
5 changed files with 104 additions and 14 deletions

View File

@@ -185,6 +185,17 @@ trait RepositoryService { self: AccountService =>
}
}
// def getBaseRepositories(userName: String, repositoryName: String, repositories: List[String] = Nil): List[String] = {
// Query(Repositories).filter { t =>
// (t.originUserName is userName.bind) && (t.originRepositoryName is repositoryName.bind)
// }.map(_.userName).list match {
// case Nil => repositories.sorted
// case list => list.map { x =>
// getBaseRepositories(x, repositoryName, x :: repositories)
// }.flatten
// }
// }
}
object RepositoryService {