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.
- Self Type
- Path
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Path
- Serializable
- Serializable
- Product
- Equals
- PrimType
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
- lazy val choices: Option[String]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fileSystem: FileSystem
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- lazy val helpDoc: Span
- lazy val isBool: Boolean
-
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() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val pathType: PathType
- val shouldExist: Exists
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- lazy val 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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )