MCPcopy Create free account
hub / github.com/bleachbit/bleachbit / set_hashpath

Method set_hashpath

bleachbit/Options.py:480–482  ·  view source on GitHub ↗

Remember the hash of a path

(self, pathname, hashvalue)

Source from the content-addressed store, hash-verified

478 self.__flush(force=False)
479
480 def set_hashpath(self, pathname, hashvalue):
481 """Remember the hash of a path"""
482 self.set(path_to_option(pathname), hashvalue, 'hashpath')
483
484 def set_list(self, key, values):
485 """Set a value which is a list data type"""

Callers 2

test_purgeMethod · 0.95
__scanMethod · 0.80

Calls 2

setMethod · 0.95
path_to_optionFunction · 0.85

Tested by 1

test_purgeMethod · 0.76