MCPcopy Create free account
hub / github.com/gogs/gogs / authorizedKeysPath

Function authorizedKeysPath

internal/database/public_keys.go:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23func authorizedKeysPath() string {
24 return filepath.Join(conf.SSH.RootPath, "authorized_keys")
25}
26
27// RewriteAuthorizedKeys rewrites the "authorized_keys" file under the SSH root
28// path with all public keys stored in the database.

Callers 4

RewriteAuthorizedKeysMethod · 0.85
RewriteAuthorizedKeysFunction · 0.85
usersDeleteByIDFunction · 0.85

Calls

no outgoing calls

Tested by 2

usersDeleteByIDFunction · 0.68