bunch-cli/src/main/kotlin/org/jetbrains/bunches/switch.kt [156:166]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val baseCopiedFile = originFile.toBunchFile(originBranchExtension) if (baseCopiedFile.exists()) { exitWithError("$SAVED_VALUE_EXISTS $baseCopiedFile") } if (originFile.exists()) { if (originFile.isDirectory) { exitWithError("$NO_DIRECTORIES_SUPPORT $originFile") } originFile.copyTo(baseCopiedFile) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bunch-cli/src/main/kotlin/org/jetbrains/bunches/switch.kt [258:268]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val baseCopiedFile = originFile.toBunchFile(originBranchExtension) if (baseCopiedFile.exists()) { exitWithError("$SAVED_VALUE_EXISTS $baseCopiedFile") } if (originFile.exists()) { if (originFile.isDirectory) { exitWithError("$NO_DIRECTORIES_SUPPORT $originFile") } originFile.copyTo(baseCopiedFile) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -