#NEWLINE# def file_changed_hash( path ) : #NEWLINE# #INDENT# info = os . stat ( hashKey ) #NEWLINE# hashKey = ( text_type ( info . st_mtime ) + text_type ( info . st_size ) ) #NEWLINE# return checksum ( hashKey . encode ( 'utf-8' ) )