Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

feat: expose filesSkipped in IngestResponse

riley0227aa7fcf40d2fa
diff --git a/memory-layer/src/main/scala/ix/memory/api/IngestionRoutes.scala b/memory-layer/src/main/scala/ix/memory/api/IngestionRoutes.scala
index 763bbbfc..e9a62fa3 100644
--- a/memory-layer/src/main/scala/ix/memory/api/IngestionRoutes.scala
+++ b/memory-layer/src/main/scala/ix/memory/api/IngestionRoutes.scala
@@ -18,7 +18,7 @@ object IngestRequest {
implicit val encoder: Encoder[IngestRequest] = deriveEncoder[IngestRequest]
}
-case class IngestResponse(filesProcessed: Int, patchesApplied: Int, entitiesCreated: Int, latestRev: Long)
+case class IngestResponse(filesProcessed: Int, patchesApplied: Int, filesSkipped: Int, entitiesCreated: Int, latestRev: Long)
object IngestResponse {
implicit val encoder: Encoder[IngestResponse] = deriveEncoder[IngestResponse]
@@ -39,6 +39,7 @@ class IngestionRoutes(ingestionService: IngestionService, bulkIngestionService:
resp <- Ok(IngestResponse(
filesProcessed = result.filesProcessed,
patchesApplied = result.patchesApplied,
+ filesSkipped = result.filesSkipped,
entitiesCreated = result.entitiesCreated,
latestRev = result.latestRev.value
))