MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / looks_like_vue_store_file

Method looks_like_vue_store_file

codegraph-kernel/src/tsjs/extractors.rs:682–696  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

680 }
681
682 pub(super) fn looks_like_vue_store_file(&mut self) -> bool {
683 if let Some(v) = self.vue_store_file {
684 return v;
685 }
686 let mut seen: std::collections::HashSet<&str> = std::collections::HashSet::new();
687 for m in util::vue_store_signal().find_iter(self.src) {
688 seen.insert(m.as_str());
689 if seen.len() >= 2 {
690 break;
691 }
692 }
693 let v = seen.len() >= 2;
694 self.vue_store_file = Some(v);
695 v
696 }
697
698 fn find_vue_store_collection_objects(&self, call: Node<'t>) -> Vec<Node<'t>> {
699 let callee = call

Callers 2

visit_nodeMethod · 0.80
extract_variableMethod · 0.80

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected