diff options
author | hut <hut@lepus.uberspace.de> | 2015-01-17 01:12:57 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-01-17 01:12:57 +0100 |
commit | da59d28150312bf0c76dc25b0d4c44f65e2665f3 (patch) | |
tree | 689cc71eeacdfcb5ecb1434f3ec36d4dd518d73d | |
parent | 51a3f45e6b15198b7d63af4b8861fd6217b31095 (diff) | |
download | ranger-da59d28150312bf0c76dc25b0d4c44f65e2665f3.tar.gz |
core.metadata: added comments for self.meta{file,data}_cache
-rw-r--r-- | ranger/core/metadata.py | 2 |
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 |