@@ -12,6 +12,7 @@ pub enum ContextProvenance {
1212 CustomContextNotes ,
1313 DependencyGraphNeighborhood ,
1414 PathSpecificFocusAreas ,
15+ RepositoryGraphMetadata ,
1516 PatternRepositoryContext {
1617 source : String ,
1718 } ,
@@ -89,6 +90,7 @@ impl ContextProvenance {
8990 | Self :: CustomContextNotes
9091 | Self :: DependencyGraphNeighborhood
9192 | Self :: PathSpecificFocusAreas
93+ | Self :: RepositoryGraphMetadata
9294 | Self :: RelatedTestFile
9395 | Self :: ReverseDependencySummary => 0 ,
9496 }
@@ -109,6 +111,7 @@ impl ContextProvenance {
109111 Self :: CustomContextNotes => "custom context notes" . to_string ( ) ,
110112 Self :: DependencyGraphNeighborhood => "dependency graph neighborhood" . to_string ( ) ,
111113 Self :: PathSpecificFocusAreas => "path-specific focus areas" . to_string ( ) ,
114+ Self :: RepositoryGraphMetadata => "repository graph metadata" . to_string ( ) ,
112115 Self :: PatternRepositoryContext { source } => {
113116 format ! ( "pattern repository: {source}" )
114117 }
@@ -179,5 +182,9 @@ mod tests {
179182 ContextProvenance :: pattern_repository_context( "org/repo" ) . to_string( ) ,
180183 "pattern repository: org/repo"
181184 ) ;
185+ assert_eq ! (
186+ ContextProvenance :: RepositoryGraphMetadata . to_string( ) ,
187+ "repository graph metadata"
188+ ) ;
182189 }
183190}
0 commit comments