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