src/main/kotlin/documents/DocumentsCommand.kt [92:116]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - folder = folder, batchInfo = batch ) { id() title() bodyType() documentBody() } } if (documents.isNotEmpty()) { withContext(Dispatchers.IO) { Files.createDirectories(folderPath) } } for (document in documents) { exportDocument( document = document, folderPath = folderPath ) } // Export subfolders val subfolders = loadBatch { batch -> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src/main/kotlin/documents/DocumentsCommand.kt [143:167]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - folder = folder, batchInfo = batch ) { id() title() bodyType() documentBody() } } if (documents.isNotEmpty()) { withContext(Dispatchers.IO) { Files.createDirectories(folderPath) } } for (document in documents) { exportDocument( document = document, folderPath = folderPath ) } // Export subfolders val subfolders = loadBatch { batch -> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -