MCPcopy Index your code
hub / github.com/emwalker/digraph / accept

Method accept

backend/src/git/types.rs:480–494  ·  view source on GitHub ↗
(&self, mut visitor: V)

Source from the content-addressed store, hash-verified

478
479impl RepoObject {
480 pub fn accept<V>(&self, mut visitor: V) -> Result<()>
481 where
482 V: Visitor,
483 {
484 match self {
485 Self::Topic(topic) => {
486 visitor.visit_topic(topic)?;
487 }
488 Self::Link(link) => {
489 visitor.visit_link(link)?;
490 }
491 }
492
493 Ok(())
494 }
495
496 pub fn has_details(&self) -> bool {
497 match self {

Callers 3

index.tsFile · 0.80
initFunction · 0.80
mainFunction · 0.80

Calls 2

visit_topicMethod · 0.80
visit_linkMethod · 0.80

Tested by

no test coverage detected