MCPcopy Create free account
hub / github.com/PerroEngine/Perro / split_key_value

Function split_key_value

perro_source/core/perro_animation/src/panim/syntax.rs:34–37  ·  view source on GitHub ↗
(line: &str)

Source from the content-addressed store, hash-verified

32}
33
34fn split_key_value(line: &str) -> Option<(&str, &str)> {
35 let (k, v) = line.split_once('=')?;
36 Some((k.trim(), v.trim()))
37}
38
39fn strip_comment(line: &str) -> &str {
40 // Comment markers inside quoted strings (e.g. `"res://path"`) are content.

Callers 3

parse_animation_blockMethod · 0.85
parse_frame_blockMethod · 0.85
parse_object_blockMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected