~edwargix/git.sr.ht

a0568b4873d80d47e76fbda3ece2cab70839874a — Drew DeVault 5 years ago 2759515
api: add TODO for repository { references }
1 files changed, 1 insertions(+), 0 deletions(-)

M graphql/graph/schema.resolvers.go
M graphql/graph/schema.resolvers.go => graphql/graph/schema.resolvers.go +1 -0
@@ 95,6 95,7 @@ func (r *repositoryResolver) References(ctx context.Context, obj *model.Reposito
		refs = append(refs, &model.Reference{obj.Repo(), ref})
		return nil
	})
	// TODO: Implement globbing
	sort.SliceStable(refs, func(i, j int) bool {
		return refs[i].Name() < refs[j].Name()
	})