Skip to content

Commit 48caa88

Browse files
authored
Rename result directories (#127)
* Rename reduction directory X_inv -> /reductions/X * Rename result directory X_exp -> X * Fix directory of reference reduction * Fix checkstyle
1 parent 3db3fa3 commit 48caa88

File tree

2 files changed

+67
-97
lines changed

2 files changed

+67
-97
lines changed

server/src/main/java/com/graphicsfuzz/server/webui/ReductionFilesHelper.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
public class ReductionFilesHelper {
2626

27-
static File getReductionDir(String token, String shaderSet, String shader) {
28-
return new File(WebUiConstants.WORKER_DIR + "/" + token + "/"
29-
+ shaderSet + "_" + shader + "_inv");
27+
static File getReductionDir(String token, String shaderSet, String variant) {
28+
return new File(WebUiConstants.WORKER_DIR + "/" + token + "/" + shaderSet
29+
+ "/reductions/" + variant);
3030
}
3131

3232
static Optional<File> getLatestReductionImage(

0 commit comments

Comments
 (0)