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

Function defined_names

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

skipMethod · 0.80
nextMethod · 0.45

Tested by 1