Skip to content

Move to content has as opposed to stat hash for determining change #130

@tashrifbillah

Description

@tashrifbillah

curr_stat= stat(file)
curr_stat= '_'.join(str(s) for s in [curr_stat.st_uid,curr_stat.st_size,curr_stat.st_mtime])
stats.append(curr_stat)
stats=','.join(stats)
curr_hash= md5(stats.encode('utf-8')).hexdigest()

This algorithm is ruling many subjects as changed which is not acceptable!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions