MCPcopy Create free account
hub / github.com/cosdata/cosdata / role

Function role

org/src/cosql.rs:146–154  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

144}
145
146fn role(input: &str) -> IResult<&str, Role> {
147 map(
148 tuple((ws(identifier), ws(char(':')), ws(identifier))),
149 |(name, _, entity_type)| Role {
150 name: name.to_string(),
151 entity_type: entity_type.to_string(),
152 },
153 )(input)
154}
155
156fn relationship_definition(input: &str) -> IResult<&str, RelationshipDefinition> {
157 map(

Callers

nothing calls this directly

Calls 1

wsFunction · 0.70

Tested by

no test coverage detected