Skip to content

Make directory dependencies use hash of deterministic file tree listing instead of mtime #52

Description

@jdarais

Directory dependencies use the max mtime of all directories in a directory tree to determine if a directory has been modified or not, but this method is not resilient against clock changes and may behave improperly if the cobble DB file used was restored from a cache.

A better alternative would be to use a hash of the (deterministic) directory tree listing which would detect changes in directory contents without the same issues that arise from using directory mtime.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions