MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / set_checksums

Method set_checksums

etc/scripts/utils_thirdparty.py:801–805  ·  view source on GitHub ↗

Update self with checksums computed for this dist filename is `dest_dir`.

(self, dest_dir=THIRDPARTY_DIR)

Source from the content-addressed store, hash-verified

799 return {}
800
801 def set_checksums(self, dest_dir=THIRDPARTY_DIR):
802 """
803 Update self with checksums computed for this dist filename is `dest_dir`.
804 """
805 self.update(self.get_checksums(dest_dir), overwrite=True)
806
807 def validate_checksums(self, dest_dir=THIRDPARTY_DIR):
808 """

Callers 2

clean_about_filesFunction · 0.80

Calls 2

updateMethod · 0.95
get_checksumsMethod · 0.95

Tested by

no test coverage detected