Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

Conversation

cunei
Copy link

@cunei cunei commented Dec 1, 2017

Use the new native file modification timestamps, which return times with full millisecond precisions whenever possible. Depends on sbt/io#92

@cunei cunei changed the base branch from 1.0.x to 1.x December 6, 2017 19:31
FileInfo is used to wrap information like last modified time on
files that may or may not exist. Arguably, that does not make
much sense: the non-existent files should not lead to modification
file information, hashes, and a persistent serialized version of
the resulting meaningless information. However, considering that
the FileInfo information is serialized and saved, it is necessary
to preserve compatibility at this stage. Therefore the modification
time is explicitly set to zero for those files that do not exist
when each FileInfo is built.
@dwijnand dwijnand changed the base branch from 1.x to 1.1.x December 13, 2017 15:43
.. and make getModifiedTimeOrZero private.
Copy link
Member

@dwijnand dwijnand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of tweaks: cunei#1

dwijnand
dwijnand previously approved these changes Dec 15, 2017
@eed3si9n eed3si9n merged commit b3e217a into sbt:1.1.x Dec 15, 2017
@typesafe-tools
Copy link

The validator has checked the following projects against Scala 2.12, 2.11,
tested using dbuild, projects built on top of each other.

Project Reference Commit
sbt pull/3789/head sbt/sbt@5089471
zinc pull/463/head sbt/zinc@717b248
io pull/100/head sbt/io@8c5947b
librarymanagement pull/189/head sbt/librarymanagement@0b496f4
util pull/134/head 3d9eab1
website 1.x

❌ The result is: FAILED
(restart)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants