Package-level declarations

Types

Link copied to clipboard
data class ConversionMetadata(val rules: MutableMap<FileFormat<*>, Pair<MutableSet<FileFormat<*>>, TemplateContext>> = mutableMapOf(), conversions: Int = 0)
Link copied to clipboard
data class ConversionRequest<T>(val from: FileFormat<T>, val to: FileFormat<T>, val template: TemplateContext)
Link copied to clipboard
data class ConversionSlice(val child: String, val from: String, val to: String, val timestamp: Long, val error: String?)
Link copied to clipboard
data class DaemonHealthCheck(val isRunning: Boolean, val foldersWatchingCount: Int)
Link copied to clipboard

Some common housekeeping tools.

Link copied to clipboard
class Maestro

The default way to handle all the file operations all in one place

Link copied to clipboard

The Daemon object which is to be called if FileMaestro is used as a daemon and not a library.

Link copied to clipboard

Responsible for withholding history of conversion requests

Link copied to clipboard
data class WatchDirectoryList<T>(val directories: List<WatchDirectoryRequest<T>>)
Link copied to clipboard
data class WatchDirectoryRequest<T>(val name: String, val conversions: List<ConversionRequest<T>>)

Functions

Link copied to clipboard
fun initializeMaestro(useMetaListener: Boolean = false)

Top level function that must be called when using this library as a daemon before most other actions.