this repo has no description
1package main
2
3import (
4 "fmt"
5)
6
7func formatKeyData(repoguardPath string, data map[string]string) string {
8 var result string
9 for user, key := range data {
10 result += fmt.Sprintf(
11 `command="%s -base-dir /home/git -user %s -log-path /home/git/log ",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty %s`+"\n",
12 repoguardPath, user, key)
13 }
14 return result
15}