[+] Ongeki export

This commit is contained in:
Azalea
2025-03-11 16:51:46 -04:00
parent d5b4e1ca14
commit 67d2e52fbc
13 changed files with 74 additions and 33 deletions

View File

@@ -237,6 +237,7 @@ fun Str.path() = Path.of(this)
operator fun Path.div(part: Str) = resolve(part)
operator fun File.div(fileName: Str) = File(this, fileName)
fun Str.ensureEndingSlash() = if (endsWith('/')) this else "$this/"
fun Str.ensureNoEndingSlash() = if (endsWith('/')) dropLast(1) else this
fun <T: Any> T.logger() = LoggerFactory.getLogger(this::class.java)