diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-18 20:12:32 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-18 20:12:32 +0800 |
commit | d1a1358c447175bdfd2c44f0baf2f53201ed096a (patch) | |
tree | 01c05bcab641654b21b7ff9a09ebf03df49aaa03 /ssh_handle_receive_pack.go | |
parent | Remove underscores from Go code, pt 1 (diff) | |
download | forge-d1a1358c447175bdfd2c44f0baf2f53201ed096a.tar.gz forge-d1a1358c447175bdfd2c44f0baf2f53201ed096a.tar.zst forge-d1a1358c447175bdfd2c44f0baf2f53201ed096a.zip |
gofumpt
Diffstat (limited to '')
-rw-r--r-- | ssh_handle_receive_pack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh_handle_receive_pack.go b/ssh_handle_receive_pack.go index b77b717..3f7c1f1 100644 --- a/ssh_handle_receive_pack.go +++ b/ssh_handle_receive_pack.go @@ -31,7 +31,7 @@ type pack_to_hook_t struct { var pack_to_hook_by_cookie = cmap.Map[string, pack_to_hook_t]{} // ssh_handle_receive_pack handles attempts to push to repos. -func ssh_handle_receive_pack(session glider_ssh.Session, pubkey string, repo_identifier string) (err error) { +func ssh_handle_receive_pack(session glider_ssh.Session, pubkey, repo_identifier string) (err error) { group_path, repo_name, repo_id, repo_path, direct_access, contrib_requirements, user_type, user_id, err := get_repo_path_perms_from_ssh_path_pubkey(session.Context(), repo_identifier, pubkey) if err != nil { return err |