aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/App.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/App.kt')
-rw-r--r--src/main/kotlin/App.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/App.kt b/src/main/kotlin/App.kt
index 8b1de6d..fb93564 100644
--- a/src/main/kotlin/App.kt
+++ b/src/main/kotlin/App.kt
@@ -144,7 +144,8 @@ fun crawlFiles(ctx: Context) {
arrayOf(
if (File(filePath).isDirectory) "$fileName/" else fileName,
humanReadableBytes(File(filePath).length()),
- SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format(File(filePath).lastModified()).toString()
+ SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format(File(filePath).lastModified()).toString(),
+ if (File(filePath).isDirectory) "true" else isHumanReadable(filePath).toString()
)
)
}