dhunter/core/file_hash_cache.py
def remove(self, obj: os.DirEntry or FileHash or str) -> bool:
        """Removes cached entry based on of either DirEntry or FileHash data. Does nothing if object is not found
        """
        if isinstance(obj, (FileHash, os.DirEntry)):
            return self.remove_by_name(obj.name)
        if isinstance(obj, str):
            return self.remove_by_name(obj)

        raise ValueError('Unsupported argument type "{}"'.format(type(obj)))
Removes cached entry based on of either DirEntry or FileHash data. Does nothing if object is not found
        
Removes cached entry based on of either DirEntry or FileHash data. Does nothing if object is not found
Removes cached entry based on of either DirEntry or FileHash data . Does nothing if object is not found
def remove(self, obj: os.DirEntry or FileHash or str) -> bool:
        if isinstance(obj, (FileHash, os.DirEntry)):
            return self.remove_by_name(obj.name)
        if isinstance(obj, str):
            return self.remove_by_name(obj)
        raise ValueError('Unsupported argument type "{}"'.format(type(obj)))
def remove ( self , obj : os . DirEntry or FileHash or str ) -> bool : if isinstance ( obj , ( FileHash , os . DirEntry ) ) : return self . remove_by_name ( obj . name ) if isinstance ( obj , str ) : return self . remove_by_name ( obj ) raise ValueError ( 'Unsupported argument type "{}"' . format ( type ( obj ) ) )
Removes cached entry based on of either DirEntry or FileHash data.
Removes cached entry based on of either DirEntry or FileHash data .
"""Removes cached entry based on of either DirEntry or FileHash data. Does nothing if object is not found
        """
self
obj
os.DirEntry or FileHash or str