jgit/org.eclipse.jgit.junit
Matthias Sohn 95e8264cc8 Use Instant instead of milliseconds for filesystem timestamp handling
This enables higher file timestamp resolution on filesystems like ext4,
Mac APFS (1ns) or NTFS (100ns) providing high timestamp resolution on
filesystem level.

Note:
- on some OSes Java 8,9 truncate milliseconds, see
https://bugs.openjdk.java.net/browse/JDK-8177809, fixed in Java 10
- UnixFileAttributes truncates timestamp resolution to microseconds when
converting the internal representation to FileTime exposed in the API,
see https://bugs.openjdk.java.net/browse/JDK-8181493
- WindowsFileAttributes also provides only microsecond resolution

Change-Id: I25ffff31a3c6f725fc345d4ddc2f26da3b88f6f2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-07-18 03:27:52 +02:00
..
.settings Add API filter for "non-API type FileRepository" in tests 2018-05-06 01:25:26 +02:00
META-INF Prepare 5.1.9-SNAPSHOT builds 2019-06-05 15:23:56 +02:00
src/org/eclipse/jgit/junit Use Instant instead of milliseconds for filesystem timestamp handling 2019-07-18 03:27:52 +02:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.gitignore
.project
BUILD Bazel: Restrict src globs to Java source files 2017-04-13 14:14:55 +09:00
build.properties
plugin.properties
pom.xml Prepare 5.1.9-SNAPSHOT builds 2019-06-05 15:23:56 +02:00