GitAssetResolutionStrategy

A resolution strategy for git repositories.

Constructors

Link copied to clipboard
constructor(repo: KGit)

Properties

Link copied to clipboard

The repo worktree directory.

Link copied to clipboard
val repo: KGit

The KGit repo.

Functions

Link copied to clipboard
open override fun copyAssets(targetFile: File)

Copies asset files to a target directory.

Link copied to clipboard
open override fun getAsset(relativePath: Path): File

Resolves an asset.

Link copied to clipboard
open fun getFont(key: Key): File?

Gets a font.

Link copied to clipboard
open fun getTexture(key: Key): File?

Gets a texture.

Link copied to clipboard

Sets the resolution strategy to use a subdirectory of the repo.