Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_SOFT_SIZE: Int = 1000

The default number of entries to cache softly in an open Repository. The garbage collector is free to release these entries at any time, preferably in the reverse order of creation or access. Using too large a value here may still cause additional memory stress by triggering more frequent global garbage collections.

Link copied to clipboard
const val DIGEST_SIZE: Int

The size in bytes of the digest of a source file.

Functions

Link copied to clipboard
fun createTemporary(rootName: String, prefix: String, suffix: String?): Repository

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

Link copied to clipboard

Is the specified file an IndexedFile of this kind?

Link copied to clipboard
fun log(level: Level, format: String, vararg args: Any)
fun log(level: Level, exception: Throwable, format: String, vararg args: Any)

Log the specified message if debugging is enabled.