NAME

Directory::Transactional::Stream - Traverse files in Directory::Transactional

VERSION

version 0.09

SYNOPSIS

$dir->file_stream(
	depth_first => 1,
);

DESCRIPTION

This stream produces depth or breadth first traversal order recursion through a Directory::Transactional object, providing a view of the head transaction.

ATTRIBUTES

dir

The directory to list. Defaults to "" (the root directory).

chunk_size

Defaults to 250.

depth_first

Chooses between depth first and breadth first traversal order.

only_files

If true only Path::Class::File items will be returned in the output streams (no directories).

METHODS

is_done

Returns true when no more files are left to iterate.

next

Returns the next chunk of Path::Class objects