blob: 8ac9ef65fc7bee5fd0db00d7d429f97fe68895de [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 asNode(fs: FileSystem): Option[Node]
}