object Utils
- Source
- Utils.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Utils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def derefUriIO(uri: URI): IO[String]
- def ioErr[A](msg: String): IO[A]
- def iriLabel(fa: FocusAction): ShapeMapLabel
- def jsonStr2Schema(jsonStr: String): IO[Schema]
-
def
mkLocal(iri: IRI, baseGlobal: URI, baseLocal: URI): URI
Example:
Example:
if iri = IRI("https://raw.githubusercontent.com/shexSpec/shexTest/master/schemas/1dot.shex") baseGlobal = https://raw.githubusercontent.com/shexSpec/shexTest/master/schemas/manifest baseLocal = file:/home/user/src/shapes/shaclex/src/test/resources/shexTest/schemas returns: file:/home/user/src/shapes/shaclex/src/test/resources/shexTest/schemas/1dot.shex
- val negativeStructureBase: URI
- val negativeSyntaxBase: URI
- def result[A](name: String, isOk: Boolean, reason: String): IO[Option[Result]]
- def schema2Json(schema: Schema): Json
- val schemasBase: URI
- def testInfo(msg: String, verbose: Boolean): IO[Unit]
- def testInfoValue(msg: String, value: Any, verbose: Boolean): IO[Unit]
- def validateFocusAction(fa: FocusAction, base: URI, v: ValidOrFailureTest, shouldValidate: Boolean, name: String, folderURI: URI, verbose: Boolean): IO[Option[Result]]
- def validateMapResult(mr: MapResultAction, base: URI, v: ValidOrFailureTest, name: String, folderURI: URI, verbose: Boolean): IO[Option[Result]]
- val validationBase: URI