1
0

feat: Introduce Hashline encoding/validation, implement core REPL and chat session logic, and establish initial project structure with a license and editor configuration.

This commit is contained in:
2026-03-04 14:54:36 +01:00
parent 928ca8c454
commit 31cf7cb4c1
12 changed files with 492 additions and 327 deletions

View File

@@ -71,6 +71,8 @@ internal static class HashlineEncoder
/// Computes a short file-level fingerprint: XOR of all per-line hashes (as bytes).
/// Useful for cheap full-file staleness checks.
/// </summary>
/// <param name="lines">All lines of the file (without trailing newlines).</param>
/// <returns>A 2-character hex fingerprint.</returns>
public static string FileFingerprint(string[] lines)
{
int fp = 0;