Skip to content

Conversation

@kvrijt
Copy link

@kvrijt kvrijt commented Dec 18, 2014

Added Thomas's own compute_dir_index function with one correction and
one addition.
Correction:
index[f] = os.path.getmtime(os.path.join(path, files[0]))
index[f] = os.path.getmtime(os.path.join(path, f))
Addition:
Optionally use hash for indexing.

Added Thomas's own compute_dir_index function with one correction and
one addition.
Correction:
index[f] = os.path.getmtime(os.path.join(path, files[0]))
index[f] = os.path.getmtime(os.path.join(path, f))
Addition:
Optionally use hash for indexing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant