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