From 94e086dede0eec9d09a68161b0f721c7b13215b8 Mon Sep 17 00:00:00 2001 From: Louis Chatriot Date: Mon, 27 May 2013 11:10:55 +0200 Subject: [PATCH] Useful comment --- lib/datastore.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/datastore.js b/lib/datastore.js index bdde6c9..dd99058 100644 --- a/lib/datastore.js +++ b/lib/datastore.js @@ -14,6 +14,8 @@ function Datastore (filename) { this.filename = filename; this.data = []; + // We keep internally the number of lines in the datafile + // This will be used when/if I implement autocompacting when the datafile grows too big this.datafileSize = 0; }