Companion

object Companion

Functions

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

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

Link copied to clipboard

Returns an empty directory snapshot.

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

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

Link copied to clipboard
suspend fun remove(repo: Repository, path: String, recursive: Boolean = false)

Removes a directory at the given path from the repository.