Skip to content

Commit fc00a31

Browse files
committed
Remove path truncation in FileRush to show full paths
1 parent 2fff514 commit fc00a31

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

examples/FileRush/src/main/java/fastfileindex/FileRush.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ public static void main(String[] args) {
1919
ProgressCallback callback = new ProgressCallback() {
2020
@Override
2121
public void onProgress(long current, long total, String currentPath) {
22-
// Truncate path for display to fit 120 chars
23-
String displayPath = truncatePath(currentPath, 80);
24-
25-
// Format output - single line per file
26-
System.out.println(displayPath);
22+
// Display full path - no truncation
23+
System.out.println(currentPath);
2724

2825
// Small delay for visual effect (every 50 files)
2926
if (current % 50 == 0 && current > 0) {

0 commit comments

Comments
 (0)