@@ -7,12 +7,14 @@ use crate::db::{
77 RepoTreeQuery , SearchRequest , SearchResponse , SearchResult , SnippetRequest , SnippetResponse ,
88 SymbolReferenceRequest , SymbolReferenceResponse , SymbolResult , TreeEntry , TreeResponse ,
99} ;
10- use pointer_indexer_types:: { BranchHead , ContentBlob , FilePointer , IndexReport , ReferenceRecord , SymbolRecord } ;
1110use crate :: dsl:: {
1211 CaseSensitivity , ContentPredicate , TextSearchPlan , TextSearchRequest , escape_sql_like_literal,
1312} ;
1413use async_trait:: async_trait;
1514use chrono:: { DateTime , Utc } ;
15+ use pointer_indexer_types:: {
16+ BranchHead , ContentBlob , FilePointer , IndexReport , ReferenceRecord , SymbolRecord ,
17+ } ;
1618use sqlx:: postgres:: PgArguments ;
1719use sqlx:: { Execute , PgPool , Postgres , QueryBuilder , Transaction , types:: Json } ;
1820use std:: {
@@ -2753,10 +2755,7 @@ impl PostgresDb {
27532755 Ok ( FileData { bytes, language } )
27542756 }
27552757
2756- async fn ingest_report (
2757- & self ,
2758- report : IndexReport ,
2759- ) -> Result < ( ) , DbError > {
2758+ async fn ingest_report ( & self , report : IndexReport ) -> Result < ( ) , DbError > {
27602759 let mut tx = self
27612760 . pool
27622761 . begin ( )
0 commit comments