From da59d28150312bf0c76dc25b0d4c44f65e2665f3 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 17 Jan 2015 01:12:57 +0100 Subject: core.metadata: added comments for self.meta{file,data}_cache --- ranger/core/metadata.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.4.1-2-gfad0