mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-18 19:15:19 +00:00
ea87bcefd6
This adds a new nanoseconds field to the FileInfo, populates it during scans and sets the non-truncated time in Chtimes calls. The actual file modification time is defined as modified_s seconds + modified_ns nanoseconds. It's expected that the modified_ns field is <= 1e9 (that is, all whole seconds should go in the modified_s field) but not really enforced. Given that it's an int32 the timestamp can be adjusted += ~2.9 seconds by the modified_ns field... GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3431 |
||
---|---|---|
.. | ||
h1 | ||
h2 | ||
h3 | ||
h4 | ||
logs | ||
.gitignore | ||
cli_test.go | ||
conflict_test.go | ||
delay_scan_test.go | ||
filetype_test.go | ||
http_test.go | ||
httpstress_test.go | ||
ignore_test.go | ||
manypeers_test.go | ||
norestart_test.go | ||
override_test.go | ||
parallell_scan_test.go | ||
reconnect_test.go | ||
reset_test.go | ||
scan_test.go | ||
symlink_test.go | ||
sync_test.go | ||
transfer-bench_test.go | ||
util.go |