Welcome to mirror list, hosted at ThFree Co, Russian Federation.

post_receive.go « notifications « service « internal - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e8c809f3172c2b31a6c952fc8ae082f6e056449b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package notifications

import (
	"gitlab.com/gitlab-org/gitaly/internal/helper"

	pb "gitlab.com/gitlab-org/gitaly-proto/go"

	"golang.org/x/net/context"
)

func (s *server) PostReceive(ctx context.Context, in *pb.PostReceiveRequest) (*pb.PostReceiveResponse, error) {
	repoPath, err := helper.GetRepoPath(in.GetRepository())
	if err != nil {
		return nil, err
	}
	helper.Debugf("PostReceive: RepoPath=%q", repoPath)
	return &pb.PostReceiveResponse{}, nil
}