createTemporary

fun createTemporary(    rootName: String,     prefix: String,     suffix: String?): Repository

Create a Repository for a temporary IndexedFile. The indexed file will be deleted on exit.

Return

The indexed repository manager.

Parameters

rootName

The name of the Avail root represented by the IndexedFile.

prefix

A prefix used in generation of the temporary file name.

suffix

A suffix used in generation of the temporary file name.

Throws

org.availlang.persistence.IndexedFileException

If an exception occurs.