final case class Path(pathType: PathType, shouldExist: Exists, fileSystem: FileSystem = FileSystem.live) extends PrimType[java.nio.file.Path] with Product with Serializable
Type representing file system path.
- pathType
Type of expected path: Directory, File or Either if both are acceptable.
- shouldExist
Yes if path is expected to exists, No otherwise or Either is both are acceptable.
- fileSystem
Implementation of FileSystem trait.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Path
- Serializable
- Product
- Equals
- PrimType
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Path(pathType: PathType, shouldExist: Exists, fileSystem: FileSystem = FileSystem.live)
- pathType
Type of expected path: Directory, File or Either if both are acceptable.
- shouldExist
Yes if path is expected to exists, No otherwise or Either is both are acceptable.
- fileSystem
Implementation of FileSystem trait.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def choices: Option[String]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fileSystem: FileSystem
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def helpDoc: Span
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pathType: PathType
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val shouldExist: Exists
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def typeName: String
- def validate(value: Option[String], conf: CliConfig): IO[String, java.nio.file.Path]
- final def validate(value: String, conf: CliConfig): IO[String, java.nio.file.Path]
- Definition Classes
- PrimType
- final def validate(value: String): IO[String, java.nio.file.Path]
- Definition Classes
- PrimType
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()