MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / defined_names

Function defined_names

atomic-core/src/pristine/schema.rs:322–327  ·  view source on GitHub ↗
(source: &'static str)

Source from the content-addressed store, hash-verified

320 use super::*;
321
322 fn defined_names(source: &'static str) -> impl Iterator<Item = &'static str> {
323 source
324 .split("TableDefinition::new(\"")
325 .skip(1)
326 .filter_map(|rest| rest.split('"').next())
327 }
328
329 #[test]
330 fn registry_lists_every_table_definition() {

Callers 1

Calls 2

skipMethod · 0.80
nextMethod · 0.45

Tested by 1