From 287d9e5c4fc50bcca2474b9783148181d7ede872 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 6 Apr 2026 23:35:05 +0200 Subject: Log watching --- src/ZNC.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ZNC.hs') diff --git a/src/ZNC.hs b/src/ZNC.hs index c23ffe2..df57541 100644 --- a/src/ZNC.hs +++ b/src/ZNC.hs @@ -40,6 +40,8 @@ data Event | ParseError deriving (Show) +-- | Returned vector has one entry for each line in the file, excepting the +-- empty "line" after the final newline, if any. preparseLog :: ByteString -> VS.Vector Word32 preparseLog = VS.fromList . findLineStarts 0 where -- cgit v1.3