From dd95e2dbfad7f39060dc70f145d0e1478770e454 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Feb 2025 10:23:44 +0800 Subject: *.go: Add some comments for docs --- acl.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'acl.go') diff --git a/acl.go b/acl.go index 99cd5fb..22c8a4c 100644 --- a/acl.go +++ b/acl.go @@ -4,6 +4,8 @@ import ( "context" ) +// get_path_perm_by_group_repo_key returns the filesystem path and direct +// access permission for a given repo and a provided ssh public key. func get_path_perm_by_group_repo_key(ctx context.Context, group_name, repo_name, ssh_pubkey string) (filesystem_path string, access bool, err error) { err = database.QueryRow(ctx, `SELECT -- cgit v1.2.3