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

Method delete_link

backend/src/store.rs:105–116  ·  view source on GitHub ↗
(
        &self,
        repo_id: RepoId,
        link_id: &ExternalId,
    )

Source from the content-addressed store, hash-verified

103 }
104
105 pub async fn delete_link(
106 &self,
107 repo_id: RepoId,
108 link_id: &ExternalId,
109 ) -> Result<git::DeleteLinkResult> {
110 git::DeleteLink {
111 actor: Arc::clone(&self.viewer),
112 repo_id,
113 link_id: link_id.to_owned(),
114 }
115 .call(self.mutation()?, &self.redis)
116 }
117
118 pub async fn delete_session(&self, session_id: String) -> Result<psql::DeleteSessionResult> {
119 psql::DeleteSession::new(self.viewer.clone(), session_id)

Callers

nothing calls this directly

Calls 2

callMethod · 0.45
mutationMethod · 0.45

Tested by

no test coverage detected