package io
- Alphabetic
- By Inheritance
- io
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
ConsoleOutput extends Output
Implementation of the Output trait using the standard Console output
-
case class
DirectoryPath(dirs: Vector[FileName], absolute: Boolean) extends Product with Serializable
Representation of a directory path which can be relative or absolute
Representation of a directory path which can be relative or absolute
It is a list of FileNames and we can append other DirectoryPaths or FilePaths to it If the list is empty, this means we are at the root
-
case class
FileName extends Product with Serializable
The component of a path name according to the unix definition http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_267
-
case class
FilePath(dir: DirectoryPath, name: FileName) extends Product with Serializable
Representation of a file path, absolute or relative
Representation of a file path, absolute or relative
It has a parent directory and a name
-
trait
FilePathReader extends AnyRef
Methods to read files on the FileSystem
-
trait
FileReader extends AnyRef
The FileReader trait provides most of the File API methods as an interface in order to be able to mock them
-
trait
FileSystem extends FilePathReader
Interface for the FileSystem where effects are denoted with the "Operation" type
- trait Key[A] extends AnyRef
-
implicit
class
NameToDirPathSyntax extends AnyRef
It is possible to create a DirPath or FilePath, starting from a string "tmp" </> "dir"
-
trait
Output extends AnyRef
This trait represents an output with standard print functions
-
trait
Store extends AnyRef
Key-value store
-
trait
StringOutput extends Output
Mock implementation of the Output trait to gather messages.
Mock implementation of the Output trait to gather messages.
!! This implementation is mutable, so it is not thread-safe !!
Value Members
-
implicit macro
def
ToFileName(s: String): FileName
It is possible to create a FileName from a string provided it is well-formed
- def createFileName(c: Context)(s: scala.reflect.macros.whitebox.Context.Expr[String]): scala.reflect.macros.whitebox.Context.Expr[FileName]
-
def
fileNameFromString(s: String): Option[FileName]
create a file name from a String
- val isWindows: Boolean
- object ConsoleOutput extends ConsoleOutput
- object DirectoryPath extends Serializable
-
object
FileLinesContent extends LinesContent[File]
Default implementation for reading lines out of a file
Default implementation for reading lines out of a file
This is used in FileContentMatchers
- object FileName extends Serializable
- object FilePath extends Serializable
- object FilePathReader extends FilePathReader
- object FileReader extends FileReader
- object FileSystem extends FileSystem
- object FoldIo