Skip to content

timestamp comparison #17

Description

@tkhyn

Original report by Anonymous.


fat and ntfs file system timestamp resolutions are different namely 2s and 100ms. Thus when syncing with different file system although the file is not changed , dirsync updates the files again again.Suggestion:

epsilon value in _cmptimestamps function might be setup based on file system working on.

mtime_cmp = int((filest1.st_mtime - filest2.st_mtime) * 1000) > 0

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

    bugSomething isn't workingmajor

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions