MCPcopy Create free account

hub / github.com/belak/gitdir / functions

Functions168 in github.com/belak/gitdir

↓ 1 callersFunctionensureAdminUserYaml
(data []byte, username, pubKey string)
config_ensure.go:233
↓ 1 callersMethodensureConfig
(adminRepo *git.Repository)
config.go:107
↓ 1 callersFunctionensureHooks
(fs billy.Filesystem)
internal/git/repository.go:132
↓ 1 callersFunctionensureSampleConfigYaml
(data []byte)
config_ensure.go:21
↓ 1 callersFunctionensureSampleGroups
(targetNode *yaml.Node)
config_ensure.go:83
↓ 1 callersFunctionensureSampleInvites
(targetNode *yaml.Node)
config_ensure.go:40
↓ 1 callersFunctionensureSampleOptions
(targetNode *yaml.Node)
config_ensure.go:199
↓ 1 callersFunctionensureSampleOrgs
(targetNode *yaml.Node)
config_ensure.go:108
↓ 1 callersFunctionensureSampleUsers
(targetNode *yaml.Node)
config_ensure.go:60
↓ 1 callersFunctionhandlePanic
(logger *zerolog.Logger)
utils.go:59
↓ 1 callersMethodloadAdminConfig
(adminRepo *git.Repository)
config_admin.go:56
↓ 1 callersMethodloadOrgConfig
(orgName string)
config_org.go:25
↓ 1 callersMethodloadOrgConfigs
()
config_org.go:8
↓ 1 callersMethodloadUserConfig
(username string)
config_user.go:25
↓ 1 callersMethodloadUserConfigs
()
config_user.go:8
↓ 1 callersMethodlookupOrgRepo
(path string)
repo.go:116
↓ 1 callersMethodlookupTopLevelRepo
(path string)
repo.go:194
↓ 1 callersMethodlookupUserRepo
(path string)
repo.go:155
↓ 1 callersFunctionnewAdminGitSignature
()
internal/git/utils.go:10
↓ 1 callersFunctionrunCommand
TODO: see if this can be cleaned up.
utils.go:89
↓ 1 callersMethodrunUpdateHook
( lookup *RepoLookup, user *User, pk *models.PublicKey, oldHash string, newHash string, ref string, )
hooks.go:54
↓ 1 callersFunctiontestCheckRepoAccess
(t *testing.T, c *Config, u *User, access allRepoAccessLevels)
repo_test.go:287
↓ 1 callersFunctiontestImplicitRepoAccess
(t *testing.T, c *Config, u *User, access allImplicitAccessLevels)
repo_test.go:298
↓ 1 callersMethodvalidateAdmins
()
config_validate.go:37
↓ 1 callersMethodvalidateGroupLoop
()
config_validate.go:47
↓ 1 callersMethodvalidateGroupLoopInternal
(groupName string, groupPath []string)
config_validate.go:58
↓ 1 callersMethodvalidatePublicKey
(pk *models.PublicKey)
config_validate.go:29
↓ 1 callersMethodvalidateUser
(u *User)
config_validate.go:21
MethodDirExists
DirExists returns true if the given path exists and is a directory in the repository worktree.
internal/git/operations.go:33
MethodMarshalPrivateKey
MarshalPrivateKey implements PrivateKey.MarshalPrivateKey.
models/private_key.go:55
MethodMarshalPrivateKey
MarshalPrivateKey implements PrivateKey.MarshalPrivateKey.
models/private_key.go:112
FunctionNewServer
NewServer configures a new gitdir server and attempts to load the config from the admin repo.
ssh_server.go:32
MethodServe
Serve listens on the given listener for new SSH connections.
ssh_server.go:120
MethodString
String implements Stringer.
repo_perms.go:25
MethodString
()
context.go:16
MethodString
String implements fmt.Stringer.
models/public_key.go:51
FunctionTestAccessLevelStringer
(t *testing.T)
repo_test.go:106
FunctionTestCheckListsForUser
(t *testing.T)
repo_test.go:248
FunctionTestCheckUserRepoAccess
(t *testing.T)
repo_test.go:314
FunctionTestContextKey
(t *testing.T)
context_test.go:14
FunctionTestCtxConfig
(t *testing.T)
context_test.go:83
FunctionTestCtxExtract
(t *testing.T)
context_test.go:64
FunctionTestCtxLogger
(t *testing.T)
context_test.go:134
FunctionTestCtxPublicKey
(t *testing.T)
context_test.go:154
FunctionTestCtxSetConfig
(t *testing.T)
context_test.go:77
FunctionTestCtxSetLogger
(t *testing.T)
context_test.go:122
FunctionTestCtxSetPublicKey
(t *testing.T)
context_test.go:148
FunctionTestCtxSetUser
(t *testing.T)
context_test.go:99
FunctionTestCtxUser
(t *testing.T)
context_test.go:105
FunctionTestDoesGroupContainUser
(t *testing.T)
repo_test.go:236
FunctionTestGetExitStatusFromError
(t *testing.T)
utils_test.go:67
FunctionTestHandlePanic
(t *testing.T)
utils_test.go:51
FunctionTestListContainsStr
(t *testing.T)
utils_test.go:45
FunctionTestLookupUserFromInvite
(t *testing.T)
user_test.go:120
FunctionTestLookupUserFromKey
(t *testing.T)
user_test.go:43
FunctionTestLookupUserFromUsername
(t *testing.T)
user_test.go:12
FunctionTestNewMultiError
(t *testing.T)
utils_test.go:12
FunctionTestRepoLookup
(t *testing.T)
repo_test.go:116
FunctionTestRepoTypeStringer
(t *testing.T)
repo_test.go:94
FunctionTestRunCommand
(t *testing.T)
utils_test.go:116
FunctionTestSanitize
(t *testing.T)
utils_test.go:99
FunctionTestWithLogger
(t *testing.T)
context_test.go:128
FunctionTestWriteStringFmt
(t *testing.T)
utils_test.go:57
MethodUnmarshalYAML
UnmarshalYAML implements yaml.Unmarshaler.UnmarshalYAML.
models/public_key.go:34
FunctionensureSampleConfig
(data []byte)
config_ensure.go:8
MethodhandlePublicKey
(ctx ssh.Context, incomingKey ssh.PublicKey)
ssh_server.go:144
MethodhandleSession
(s ssh.Session)
ssh_server.go:186
Functionmain
()
cmd/gitdir/main.go:10
← previous101–168 of 168, ranked by callers