aboutsummaryrefslogtreecommitdiffhomepage
path: root/history.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-03 02:25:08 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-03 02:25:08 -0800
commitb9283d48b570e66650a6443bc7ebb8048f589546 (patch)
tree982ec5156d4016a3345af94b3025a926074d9489 /history.h
parent33fc5c99ea067caa6634d34e02b4eeb89672b6ea (diff)
Added a history speed test
Profile driven caching of config directory Style fixes
Diffstat (limited to 'history.h')
-rw-r--r--history.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/history.h b/history.h
index a446c007..e2d4612c 100644
--- a/history.h
+++ b/history.h
@@ -123,7 +123,7 @@ private:
/** New items. Note that these are NOT discarded on save. We need to keep these around so we can distinguish between items in our history and items in the history of other shells that were started after we were started. */
std::vector<history_item_t> new_items;
-
+
/** The index of the first new item that we have not yet written. */
size_t first_unwritten_new_item_index;
@@ -138,7 +138,7 @@ private:
/** The type of file we mmap'd */
history_file_type_t mmap_type;
-
+
/** The file ID of the file we mmap'd */
file_id_t mmap_file_id;
@@ -165,7 +165,7 @@ private:
/** Saves history by rewriting the file */
bool save_internal_via_rewrite();
-
+
/** Saves history by appending to the file */
bool save_internal_via_appending();
@@ -198,7 +198,7 @@ public:
/** Saves history */
void save();
-
+
/** Performs a full (non-incremental) save */
void save_and_vacuum();