mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-16 12:34:04 +02:00
17 lines
393 B
Kotlin
17 lines
393 B
Kotlin
/*
|
|
* Copyright 2003-2023 The IdeaVim authors
|
|
*
|
|
* Use of this source code is governed by an MIT-style
|
|
* license that can be found in the LICENSE.txt file or at
|
|
* https://opensource.org/licenses/MIT.
|
|
*/
|
|
|
|
package com.intellij.vim
|
|
|
|
import java.io.File
|
|
import java.nio.file.Path
|
|
|
|
fun writeFile(filePath: Path, content: String) {
|
|
val file = File(filePath.toUri())
|
|
file.writeText(content)
|
|
} |