╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ User.zig ─────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯
330 error.RepoNotFound => return null, 331 else => |e| return e, 332 }; 333 defer repo.deinit(io, allocator); 334 335 const moment = try evt.currentMoment(evt.admin_repo_opts, &repo); 336 337 const user_id = try readIdByName(evt.AdminDB, evt.admin_repo_opts.hash, moment, name) orelse return null; 338 339 return try readById(evt.AdminDB, evt.admin_repo_opts.hash, moment, arena, &user_id); 340 } 341