Companion

object Companion

Functions

Link copied to clipboard
suspend fun create(repo: Repository, path: String): File

Creates a new file at the given path in the repository.

Link copied to clipboard
suspend fun open(repo: Repository, path: String): File

Opens an existing file at the given path in the repository.

Link copied to clipboard
suspend fun remove(repo: Repository, path: String)

Removes a file at the given path from the repository.