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