MCPcopy Create free account
hub / github.com/emwalker/digraph / path_spec_parsing

Function path_spec_parsing

backend/src/git/search.rs:547–554  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

545
546 #[test]
547 fn path_spec_parsing() {
548 let s = SearchTopicSpec::parse("in:e76a690f-2eb2-45a0-9cbc-5e7d76f92851").unwrap();
549 assert_eq!(s.op, TopicSpecOperation::IN);
550 assert_eq!(
551 s.id,
552 ExternalId::try_from("e76a690f-2eb2-45a0-9cbc-5e7d76f92851").unwrap(),
553 );
554 }
555
556 #[test]
557 fn empty_query() {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected