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

Function invalid_path_specs

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

Source from the content-addressed store, hash-verified

529
530 #[test]
531 fn invalid_path_specs() {
532 assert!(!SearchTopicSpec::valid_path_spec(
533 "e76a690f-2eb2-45a0-9cbc-5e7d76f92851"
534 ));
535 assert!(!SearchTopicSpec::valid_path_spec(
536 "In:/wiki/e76a690f-2eb2-45a0-9cbc-5e7d76f92851"
537 ));
538 assert!(!SearchTopicSpec::valid_path_spec(
539 "In:e76a690f-2eb2-45a0-9cbc-5e7d76f92851"
540 ));
541 assert!(!SearchTopicSpec::valid_path_spec(
542 "up:e76a690f-2eb2-45a0-9cbc-5e7d76f92851"
543 ));
544 }
545
546 #[test]
547 fn path_spec_parsing() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected