You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/bazel_diff/main.java
+15-2
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@
10
10
importjava.io.*;
11
11
importjava.nio.file.Path;
12
12
importjava.security.NoSuchAlgorithmException;
13
+
importjava.time.Duration;
14
+
importjava.time.Instant;
13
15
importjava.util.HashMap;
14
16
importjava.util.HashSet;
15
17
importjava.util.Map;
@@ -33,6 +35,9 @@ class GenerateHashes implements Callable<Integer> {
33
35
@Option(names = {"-s", "--seed-filepaths"}, description = "A text file containing a newline separated list of filepaths, each of these filepaths will be read and used as a seed for all targets.")
34
36
FileseedFilepaths;
35
37
38
+
@Option(names = {"--displayElapsedTime"}, description = "This flag controls whether to print out elapsed time for bazel query and content hashing")
39
+
booleandisplayElapsedTime;
40
+
36
41
@Parameters(index = "0", description = "The filepath to write the resulting JSON of dictionary target => SHA-256 values")
0 commit comments