blob: ee64d440912ed411d037cebb9393655d1a0ccf85 [file] [log] [blame] [raw]
package li.cil.oc.api.detail
import li.cil.oc.api.FileSystem
import li.cil.oc.api.network.Node
/** Avoids reflection structural types would induce. */
trait FileSystemAPI {
def fromClass(clazz: Class[_], domain: String, root: String): Option[FileSystem]
def fromSaveDir(root: String, capacity: Long): Option[FileSystem]
def asNode(fs: FileSystem): Option[Node]
}