feat: text block

This commit is contained in:
aro 2023-01-05 12:32:04 +01:00
parent d7681f09b3
commit 1a738a4c9c
3 changed files with 12 additions and 1 deletions

0
saved.yml Normal file
View file

View file

@ -0,0 +1,4 @@
package xyz.atnrch.wrench.config
class WrenchConfig {
}

View file

@ -10,7 +10,14 @@ class WatcherManager(private val entries: MutableMap<Int, WatcherEntry>) {
val watcherEntry = WatcherEntry(file, arrayListOf())
currentId += 1
entries[currentId] = watcherEntry
Logger.info("Tracking new file:\n ID: $currentId\n Name: ${file.name}\n Path: ${file.absolutePath}")
Logger.info(
"""
Tracking new file:
ID: $currentId
Name: ${file.name}
Path: ${file.absolutePath}
""".trimIndent()
)
}
fun removeFile(id: Int) {