Formats code comments as sentences in the production sources.

Capitalizes the first word and adds the terminal period across the domain, application, data access, infrastructure, API and web layers and the plugins. No comment is reworded. The change also normalizes the TODO bodies to lowercase, leaves commented-out code untouched, corrects the Threat/Treat typo and the dangling hyphen in the exception middleware, and collapses two accidental repeated terminal periods.
This commit is contained in:
BinaryAlley committed 2026-11-16 18:16:17 +02:00
1 parent 88455fec9c
commit 727aa33318
142 files changed
+403 -403

No files matched your search

@@ -18,10 +18,10 @@ public class LibraryScanResultConfiguration : IEntityTypeConfiguration<LibrarySc
public void Configure(EntityTypeBuilder<LibraryScanResultEntity> builder)
{
builder.ToTable("LibraryScanResults");
// composite key for efficient scan-specific lookups (paths are enforced as UNIQUE within the same scan)
// Composite key for efficient scan-specific lookups (paths are enforced as UNIQUE within the same scan).
builder.HasKey(libraryScanResult => new { libraryScanResult.LibraryScanId, libraryScanResult.Path });
// one library scan with many library scan results
// One library scan with many library scan results.
builder.HasOne(libraryScanResult => libraryScanResult.LibraryScan)
.WithMany(libraryScan => libraryScan.LibraryScanResults)
.HasForeignKey(libraryScanResult => libraryScanResult.LibraryScanId)
@@ -38,7 +38,7 @@ public class LibraryScanResultConfiguration : IEntityTypeConfiguration<LibrarySc
.HasColumnOrder(1);
builder.Property(libraryScanResult => libraryScanResult.ContentHash)
.HasMaxLength(24) // xxHash128 as Base64
.HasMaxLength(24) // xxHash128 as Base64.
.IsRequired()
.HasColumnOrder(2);
@@ -56,7 +56,7 @@ public class LibraryScanResultConfiguration : IEntityTypeConfiguration<LibrarySc
.HasMaxLength(10)
.HasColumnOrder(5);
// Indexes
// Indexes.
builder.HasIndex(libraryScanResult => new { libraryScanResult.ContentHash, libraryScanResult.FileSize, libraryScanResult.Path });
builder.HasIndex(libraryScanResult => libraryScanResult.Path);