aboutsummaryrefslogtreecommitdiff
path: root/sx-cache.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-04 18:11:41 -0500
committerSean Allred <code@seanallred.com>2015-01-04 18:11:41 -0500
commitd3417ee55acc35a14ed71ccd69a593cfed3796bb (patch)
treefd70ff3f8773a4317ec1ea3f753338b374327318 /sx-cache.el
parent5efc20c03be3c668d780e1909a314bf244bc723d (diff)
parent97130cb7154fc494745d6b2a2a347c765403c5f3 (diff)
Merge pull request #198 from vermiculus/organize
Organize
Diffstat (limited to 'sx-cache.el')
-rw-r--r--sx-cache.el16
1 files changed, 11 insertions, 5 deletions
diff --git a/sx-cache.el b/sx-cache.el
index e68397d..3a5bd3b 100644
--- a/sx-cache.el
+++ b/sx-cache.el
@@ -1,4 +1,4 @@
-;;; sx-cache.el --- caching -*- lexical-binding: t; -*-
+;;; sx-cache.el --- caching -*- lexical-binding: t; -*-
;; Copyright (C) 2014 Sean Allred
@@ -19,12 +19,18 @@
;;; Commentary:
-;; All caches are retrieved and set using symbols. The symbol should
-;; be the sub-subpackage that is using the cache. For example,
-;; `sx-pkg' would use `(sx-cache-get 'pkg)'.
+;; This file handles the cache system. All caches are retrieved and
+;; set using symbols. The symbol should be the sub-package that is
+;; using the cache. For example, `sx-pkg' would use
+;;
+;; `(sx-cache-get 'pkg)'
;;
;; This symbol is then converted into a filename within
-;; `sx-cache-directory'.
+;; `sx-cache-directory' using `sx-cache-get-file-name'.
+;;
+;; Currently, the cache is written at every `sx-cache-set', but this
+;; write will eventually be done by some write-all function which will
+;; be set on an idle timer.
;;; Code: