pygeodes.utils.io.check_if_folder_already_contains_file#

pygeodes.utils.io.check_if_folder_already_contains_file(filepath: str, file_checksum: str)[source]#

The goal of this function is to check if, in the folder of the filepath provided, it already exists a file with the same checksum as the one provided, with in aim not to download several times the same file. As it’s not something required but more of an help for the user, we assume that if the operation takes more than 5 seconds, we abort it.