aboutsummaryrefslogtreecommitdiff
path: root/sx-cache.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-28 13:30:11 -0500
committerSean Allred <code@seanallred.com>2014-11-28 13:30:11 -0500
commit0228524a31cf2e040525302da8cf12e2f749fbbb (patch)
treedf65a56475022619f34cb24e61930682030f524d /sx-cache.el
parent753ee36a9b1dc17804198d461ca660a65eeff0e9 (diff)
Provide commentaries for each file
Diffstat (limited to 'sx-cache.el')
-rw-r--r--sx-cache.el14
1 files changed, 10 insertions, 4 deletions
diff --git a/sx-cache.el b/sx-cache.el
index 51c2267..cf48ef5 100644
--- a/sx-cache.el
+++ b/sx-cache.el
@@ -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: