Quilt Loader 1
Loading...
Searching...
No Matches
org.quiltmc.loader.api.MountOption Enum Reference

Options for ExtendedFiles#mount(java.nio.file.Path, java.nio.file.Path, MountOption...). More...

Public Attributes

 REPLACE_EXISTING
 Replace an existing file if it exists when mounting.
 READ_ONLY
 Indicates that the mounted file will not permit writes.
 COPY_ON_WRITE
 Indicates that the mounted file will copy to a new, separate file when written to.

Detailed Description

Member Data Documentation

◆ COPY_ON_WRITE

org.quiltmc.loader.api.MountOption.COPY_ON_WRITE

Indicates that the mounted file will copy to a new, separate file when written to.

This option is incompatible with READ_ONLY

◆ READ_ONLY

org.quiltmc.loader.api.MountOption.READ_ONLY

Indicates that the mounted file will not permit writes.

This option is incompatible with COPY_ON_WRITE

◆ REPLACE_EXISTING

org.quiltmc.loader.api.MountOption.REPLACE_EXISTING

Replace an existing file if it exists when mounting.

This cannot replace a non-empty directory.


The documentation for this enum was generated from the following file:
  • src/main/java/org/quiltmc/loader/api/MountOption.java