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

Method new

backend/src/psql/repository.rs:54–56  ·  view source on GitHub ↗
(viewer: Arc<Viewer>, user_id: String)

Source from the content-addressed store, hash-verified

52
53impl FetchWriteableRepositoriesForUser {
54 pub fn new(viewer: Arc<Viewer>, user_id: String) -> Self {
55 Self { viewer, user_id }
56 }
57
58 pub async fn call(&self, pool: &PgPool) -> Result<Vec<Repository>> {
59 log::debug!("fetching repositories for user {:?}", self.user_id);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected