diff options
author | 2017-04-28 17:41:29 +0200 | |
---|---|---|
committer | 2017-04-28 18:33:14 +0200 | |
commit | 2541fd93287ff135c3348a3986cea7dfc8444f71 (patch) | |
tree | d40b47d7e9de5ccca193f2bae46abaafb732fb30 /src/main/java/com/google/devtools/build/lib/vfs/FileStatus.java | |
parent | 6af104a0cf5662d53e4f55b7d5a64255ce470a53 (diff) |
Remove stale comment and add back a removed TODO.
RELNOTES: None
PiperOrigin-RevId: 154543320
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/vfs/FileStatus.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/vfs/FileStatus.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/FileStatus.java b/src/main/java/com/google/devtools/build/lib/vfs/FileStatus.java index 712f96da14..f6112beaf8 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/FileStatus.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/FileStatus.java @@ -65,14 +65,15 @@ public interface FileStatus { /** * Returns the last modified time of this file's data (milliseconds since * UNIX epoch). + * + * TODO(bazel-team): Unix actually gives us nanosecond resolution for mtime and ctime. Consider + * making use of this. */ long getLastModifiedTime() throws IOException; /** * Returns the last change time of this file, where change means any change * to the file, including metadata changes (milliseconds since UNIX epoch). - * - * Note: UNIX uses seconds! */ long getLastChangeTime() throws IOException; @@ -83,5 +84,5 @@ public interface FileStatus { * <p>Think of this value as a reference to the underlying inode. "mv"ing file a to file b * ought to cause the node ID of b to change, but appending / modifying b should not. */ - public long getNodeId() throws IOException; + long getNodeId() throws IOException; } |