run.qontract.core.git.GitCommand.kt Maven / Gradle / Ivy
package run.qontract.core.git
import java.io.File
interface GitCommand {
fun add(): SystemGit
fun add(relativePath: String): SystemGit
fun commit(): SystemGit
fun push(): SystemGit
fun pull(): SystemGit
fun resetHard(): SystemGit
fun resetMixed(): SystemGit
fun mergeAbort(): SystemGit
fun checkout(branchName: String): SystemGit
fun merge(branchName: String): SystemGit
fun clone(gitRepositoryURI: String, cloneDirectory: File): SystemGit
fun gitRoot(): String
fun show(treeish: String, relativePath: String): String
fun workingDirectoryIsGitRepo(): Boolean
fun getChangedFiles(): List
fun relativeGitPath(newerContractPath: String): Pair
fun fileIsInGitDir(newerContractPath: String): Boolean
fun inGitRootOf(contractPath: String): GitCommand
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy