Add missing parameter description in module _cache_handler
Change-Id: I71c6a322739fa3b361eadd93afb635cb467aaf58
This commit is contained in:
parent
21ad0867be
commit
91fb94bc90
@ -22,6 +22,8 @@ LOG = logging.getLogger(__name__)
|
||||
def read_cached_file(cache, filename, force_reload=False):
|
||||
"""Read from a file if it has been modified.
|
||||
|
||||
:param cache: dictionary to hold opaque cache.
|
||||
:param filename: the file path to read.
|
||||
:param force_reload: Whether to reload the file.
|
||||
:returns: A tuple with a boolean specifying if the data is fresh
|
||||
or not.
|
||||
@ -46,6 +48,7 @@ def read_cached_file(cache, filename, force_reload=False):
|
||||
def delete_cached_file(cache, filename):
|
||||
"""Delete cached file if present.
|
||||
|
||||
:param cache: dictionary to hold opaque cache.
|
||||
:param filename: filename to delete
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user