Locate

sbt.internal.inc.Locate
object Locate

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Locate.type

Members list

Value members

Concrete methods

def classFile(baseDir: Path, className: String): Path
def components(className: String): (Seq[String], String)
def definesClass(entry0: VirtualFile): DefinesClass
def entry(classpath: Seq[VirtualFile], lookup: PerClasspathEntryLookup): String => Option[VirtualFile]

Returns a function that searches the provided class path for a class name and returns the entry that defines that class.

Returns a function that searches the provided class path for a class name and returns the entry that defines that class.

Attributes

def find[S](name: String, gets: Stream[String => Either[Boolean, S]]): Either[Boolean, S]
def getValue[S](get: VirtualFile => String => Option[S])(entry: VirtualFile): String => Either[Boolean, S]
def subDirectory(base: Path, parts: Seq[String]): Path
def toClassName(entry: String): String
def value[S](classpath: Seq[VirtualFile], get: VirtualFile => String => Option[S]): String => Either[Boolean, S]

Right(src) provides the value for the found class Left(true) means that the class was found, but it had no associated value Left(false) means that the class was not found

Right(src) provides the value for the found class Left(true) means that the class was found, but it had no associated value Left(false) means that the class was not found

Attributes

Concrete fields

val ClassExt: String