DirectoryScanner

laika.io.runtime.DirectoryScanner$

Scans a directory in the file system and transforms it into a generic InputCollection that can serve as input for parallel parsers or transformers.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def scanDirectories[F[_] : Async](input: DirectoryInput): F[InputTree[F]]

Scans the specified directory and transforms it into a generic InputCollection.

Scans the specified directory and transforms it into a generic InputCollection.

Attributes

def scanDirectory[F[_] : Async, A](directory: FilePath)(f: Seq[FilePath] => F[A]): F[A]

Scans the specified directory passing all child paths to the given function.

Scans the specified directory passing all child paths to the given function.

Attributes