WorkspaceLoader

io.joern.console.workspacehandling.WorkspaceLoader
abstract class WorkspaceLoader[ProjectType <: Project](implicit availableWidthProvider: AvailableWidthProvider)

This component loads a workspace from disk and creates a corresponding Workspace object.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DefaultLoader

Members list

Value members

Abstract methods

def createProject(projectFile: ProjectFile, path: Path): ProjectType

Concrete methods

def load(path: String): Workspace[ProjectType]

Initialize workspace from a directory

Initialize workspace from a directory

Value parameters

path

path to the directory

Attributes

def loadProject(path: Path): Option[ProjectType]