git: add unlisted repositories
1 file changed, 10 insertions(+), 0 deletions(-)
changed files
M routes/util.go → routes/util.go
@@ -30,6 +30,16 @@ } return } +func (d *deps) isUnlisted(name string) bool { + for _, i := range d.c.Repo.Unlisted { + if name == i { + return true + } + } + + return false +} + func (d *deps) isIgnored(name string) bool { for _, i := range d.c.Repo.Ignore { if name == i {