Builder

constructor(    deferred: Boolean = Settings.DEFAULT_DEFERRED_READS,     readOnly: Boolean = true,     caseSensitive: Boolean = true,     enableSymlinks: Boolean = false,     root: String = ROOT_SYSTEM_DEFAULT,     workingDirectory: String = DEFAULT_CWD,     policy: GuestVFSPolicy = GuestVFSPolicy.DEFAULTS,     registry: MutableMap<String, EmbeddedGuestVFSImpl.VfsObjectInfo> = mutableMapOf(),     bundleMapping: MutableMap<Int, EmbeddedGuestVFSImpl.BundleInfo> = mutableMapOf(),     bundle: Pair<FilesystemInfo, FileSystem>? = null,     paths: List<URI> = emptyList(),     files: List<File> = emptyList(),     zip: URI? = null,     file: URI? = null)

Parameters

deferred

Whether to defer reading of files into the VFS until they are requested.

readOnly

Whether the file-system should be considered read-only (regardless of backing read-only status).

caseSensitive

Whether the file-system should be considered case-sensitive.

enableSymlinks

Whether to enable support for symbolic links.

root

Root directory of the file-system.

workingDirectory

Working directory of the file-system.

policy

Policy to apply to moderate guest I/O access to the file-system in question.

registry

Registry of known file paths which are consulted for deferred reads.

bundleMapping

Mapping of bundle IDs to bundle metadata; consulted for deferred reads.

bundle

Bundle file to load the file-system from.

paths

Paths to the bundle files, as regular host-filesystem paths, or classpath:-prefixed URIs for resources which should be fetched from the host app class-path.

files

Files to load as file-system bundles.