vertx / io.vertx.kotlin.core.file / fileSystemOptionsOf

# fileSystemOptionsOf

`fun fileSystemOptionsOf(classPathResolvingEnabled: Boolean? = null, fileCacheDir: String? = 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.

`fileCacheDir` - When vert.x reads a file that is packaged with the application it gets extracted to this directory first and subsequent reads will use the extracted file to get better IO performance.

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