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:1260–1274  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1258 }
1259
1260 pub(super) fn looks_like_vue_store_file(&mut self) -> bool {
1261 if let Some(v) = self.vue_store_file {
1262 return v;
1263 }
1264 let mut seen: std::collections::HashSet<&str> = std::collections::HashSet::new();
1265 for m in util::vue_store_signal().find_iter(self.src) {
1266 seen.insert(m.as_str());
1267 if seen.len() >= 2 {
1268 break;
1269 }
1270 }
1271 let v = seen.len() >= 2;
1272 self.vue_store_file = Some(v);
1273 v
1274 }
1275
1276 fn find_vue_store_collection_objects(&self, call: Node<'t>) -> Vec<Node<'t>> {
1277 let callee = call

Callers 2

visit_nodeMethod · 0.80
extract_variableMethod · 0.80

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected