Skip to content

What is the purpose of checksum and what can I expect #1509

Answered by martindurant
ladidadida asked this question in Q&A
Discussion options

You must be logged in to vote

fsspec does not do any checksumming of its own. The method checksum could perhaps be better named "UID" or similar: it is a value based on whatever information the target storage provides for the path in question. That information might include read checksums (e.g., on S3 or GCS), but some will not (e.g., local filesystem); it also might return different information every time (e.g., HTTP responses).

In addition, some backends verify checksums on write, in which case fsspec does calculate the bytes as they are written.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ladidadida
Comment options

Answer selected by ladidadida
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants