MCPcopy
hub / github.com/pallets/jinja / get_source_checksum

Method get_source_checksum

src/jinja2/bccache.py:163–165  ·  view source on GitHub ↗

Returns a checksum for the source.

(self, source: str)

Source from the content-addressed store, hash-verified

161 return hash.hexdigest()
162
163 def get_source_checksum(self, source: str) -> str:
164 """Returns a checksum for the source."""
165 return sha1(source.encode("utf-8")).hexdigest()
166
167 def get_bucket(
168 self,

Callers 1

get_bucketMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected