CodeExample

fr.janalyse.cem.model.CodeExample$
See theCodeExample companion class

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def exampleCategoryFromFilepath(examplePath: Path, searchPath: Path): Option[String]
def exampleContentExtractValue(from: String, key: String): Option[String]
def exampleContentExtractValueList(from: String, key: String): List[String]
def fileLastModified(examplePath: Path): OffsetDateTime
def filenameFromFilepath(filepath: String): String
def getAttachmentContent(examplePath: Path, attachmentFilename: String): ZIO[FileSystemService, ExampleIssue, String]
def makeExample(examplePath: Path, fromSearchPath: Path): ZIO[FileSystemService, ExampleIssue, CodeExample]

Implicits

Implicits

implicit val decoder: JsonDecoder[CodeExample]
implicit val encoder: JsonEncoder[CodeExample]
implicit val pathDecoder: JsonDecoder[Path]
implicit val pathEncoder: JsonEncoder[Path]