MCPcopy Create free account
hub / github.com/emwalker/digraph / new

Method new

backend/src/psql/registration.rs:12–14  ·  view source on GitHub ↗
(user: &'s user::Row, login: &'s str)

Source from the content-addressed store, hash-verified

10
11impl<'s> CompleteRegistration<'s> {
12 pub fn new(user: &'s user::Row, login: &'s str) -> Self {
13 Self { user, login }
14 }
15
16 pub async fn call<'t>(&self, tx: &mut PgTransaction<'t>) -> Result<()> {
17 let (user_id, name) = self.user_info();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected