summaryrefslogtreecommitdiff
path: root/Command/InitRemote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-13 01:20:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-13 01:20:37 -0400
commit12dbb9d1d0162d5417805503525f30faf9aa2fc2 (patch)
tree77cf7c2b0452c0720fd1e8ebfa974289117806ae /Command/InitRemote.hs
parentab076b2e818e616c1049ec1119d77ca2ff2e3a17 (diff)
plumb file status through to event handlers
The idea, not yet done, is to use this to detect when a file has an old change time, and avoid expensive restaging of the file. If git-annex watch keeps track of the last time it finished a full scan, then any symlink that is older than that time must have been scanned before, so need not be added. (Relying on moving, copying, etc of a file all updating its change time.) Anyway, this info is available for free since inotify already checks it, so it might as well make it available.
Diffstat (limited to 'Command/InitRemote.hs')
0 files changed, 0 insertions, 0 deletions