project structure: move files from source root to resources, work in progress

GitOrigin-RevId: 964b5e01907f60a83a0e0b303ce1e0e63c4d2d41
This commit is contained in:
Leonid Shalupov
2025-02-25 02:35:01 +00:00
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 {