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

Method upsert_topic

backend/tests/git/fixtures.rs:164–180  ·  view source on GitHub ↗
(
        &self,
        repo_id: RepoId,
        name: &str,
        parent_topic: &ExternalId,
        on_matching_synonym: OnMatchingSynonym,
    )

Source from the content-addressed store, hash-verified

162 }
163
164 pub fn upsert_topic(
165 &self,
166 repo_id: RepoId,
167 name: &str,
168 parent_topic: &ExternalId,
169 on_matching_synonym: OnMatchingSynonym,
170 ) -> Result<UpsertTopicResult> {
171 UpsertTopic {
172 actor: actor(),
173 parent_topic_id: parent_topic.to_owned(),
174 locale: Locale::EN,
175 name: name.into(),
176 on_matching_synonym,
177 repo_id,
178 }
179 .call(self.mutation(), &redis::Noop)
180 }
181}
182
183mod tests {

Callers 8

assert_topic_addedFunction · 0.45
action_requestedFunction · 0.45
upsert_topicFunction · 0.45
create_distinctFunction · 0.45
parent_topic_updatedFunction · 0.45
no_cyclesFunction · 0.45
another_repoFunction · 0.45
indexing_worksFunction · 0.45

Calls 3

actorFunction · 0.85
callMethod · 0.45
mutationMethod · 0.45

Tested by

no test coverage detected