final case classSourceFileInfo(file: EnsimeFile, contents: Option[String] = scala.None, contentsIn: Option[File] = scala.None, id: Option[EnsimeProjectId] = scala.None) extends Product with Serializable
Represents a source file that has a physical location (either a
file or an archive entry) with (optional) up-to-date information in
another file, or as a String.
Clients using a wire protocol should prefer contentsIn for
performance (string escaping), whereas in-process clients should
use the contents variant.
If both contents and contentsIn are provided, contents is
preferred.
Good clients provide the id field so the server doesn't have to
work it out all the time.
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Represents a source file that has a physical location (either a file or an archive entry) with (optional) up-to-date information in another file, or as a String.
Clients using a wire protocol should prefer
contentsIn
for performance (string escaping), whereas in-process clients should use thecontents
variant.If both contents and contentsIn are provided, contents is preferred.
Good clients provide the
id
field so the server doesn't have to work it out all the time.