about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-01-17 01:12:57 +0100
committerhut <hut@lepus.uberspace.de>2015-01-17 01:12:57 +0100
commitda59d28150312bf0c76dc25b0d4c44f65e2665f3 (patch)
tree689cc71eeacdfcb5ecb1434f3ec36d4dd518d73d
parent51a3f45e6b15198b7d63af4b8861fd6217b31095 (diff)
downloadranger-da59d28150312bf0c76dc25b0d4c44f65e2665f3.tar.gz
core.metadata: added comments for self.meta{file,data}_cache
-rw-r--r--ranger/core/metadata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/metadata.py b/ranger/core/metadata.py
index 47d5b8ca..bb9ae8a7 100644
--- a/ranger/core/metadata.py
+++ b/ranger/core/metadata.py
@@ -16,7 +16,9 @@ from ranger.ext.openstruct import OpenStruct
 
 class MetadataManager(object):
     def __init__(self):
+        # metadata_cache maps filenames to OpenStructs (basically, dicts)
         self.metadata_cache = dict()
+        # metafile_cache maps .metadata.json filenames to their entries
         self.metafile_cache = dict()
         self.deep_search = DEEP_SEARCH_DEFAULT