vertx / io.vertx.kotlin.core.file / FileSystemOptions

FileSystemOptions

fun FileSystemOptions(classPathResolvingEnabled: Boolean? = null, fileCachingEnabled: Boolean? = null): FileSystemOptions

A function providing a DSL for building io.vertx.core.file.FileSystemOptions objects.

Vert.x file system base configuration, this class can be extended by provider implementations to configure those specific implementations.

Parameters

classPathResolvingEnabled - When vert.x cannot find the file on the filesystem it tries to resolve the file from the class path when this is set to true.

fileCachingEnabled - Set to true to cache files on the real file system when the filesystem performs class path resolving.