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

Function subject_label_user

atomic-cli/src/commands/workspace/grant.rs:484–491  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

482
483 #[test]
484 fn subject_label_user() {
485 let label = subject_label(
486 atomic_teams::GrantSubjectType::User,
487 &None,
488 &Some("550e8400-e29b-41d4-a716-446655440000".to_string()),
489 );
490 assert_eq!(label, "user 550e8400-e29b-41d4-a716-446655440000");
491 }
492
493 #[test]
494 fn subject_label_everyone() {

Callers

nothing calls this directly

Calls 1

subject_labelFunction · 0.85

Tested by

no test coverage detected