View definition

func RewriteAllPublicKeys

Defined in github.com/gogits/gogs/models/ssh_key.go

Description

RewriteAllPublicKeys removes any authorized key and rewrite all keys from database again. Note: x.Iterate does not get latest data after insert/delete, so we have to call this function outsite any session scope independently.

RewriteAllPublicKeys is referenced in 4 repositories

github.com/gogits/gogs github.com/davecheney/benchgogs

...