mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
project structure: move files from source root to resources, work in progress
GitOrigin-RevId: 964b5e01907f60a83a0e0b303ce1e0e63c4d2d41
This commit is contained in:
committed by
intellij-monorepo-bot
parent
11572bf615
commit
0ebe25ee9a
@@ -27,8 +27,12 @@ class Git(private val dir: Path) {
|
||||
return executeWithNullSeparatedOutput("git", "ls-files", "-z")
|
||||
}
|
||||
|
||||
fun mv(source: Path, destination: Path) {
|
||||
execute("git", "mv", source.pathString, destination.pathString)
|
||||
fun rm(files: List<Path>) {
|
||||
execute("git", "rm", *files.map { it.pathString }.toTypedArray())
|
||||
}
|
||||
|
||||
fun add(files: List<Path>) {
|
||||
execute("git", "add", *files.map { it.pathString }.toTypedArray())
|
||||
}
|
||||
|
||||
fun currentCommitShortHash(): String {
|
||||
|
||||
Reference in New Issue
Block a user