View Source DSL: Reactor.File

An extension which provides steps for working with the local filesystem within Reactor.

reactor.file_glob

file_glob name

Searches for files matching the provided pattern.

Uses Path.wildcard/2 under the hood.

Nested DSLs

Arguments

NameTypeDefaultDocs
nameatomA unique name for the step. Used when choosing the return value of the Reactor and for arguments into other steps

Options

NameTypeDefaultDocs
patternReactor.Template.Element | Reactor.Template.Input | Reactor.Template.Result | Reactor.Template.ValueA pattern used to select files. See Path.wildcard/2 for more information.
descriptionString.tAn optional description for the step
match_dotbooleanfalseWhether or not files starting with a . will be matched by the pattern. See Path.wildcard/2 for more information.

reactor.file_glob.wait_for

wait_for names

Wait for the named step to complete before allowing this one to start.

Desugars to argument :_, result(step_to_wait_for)

Examples

wait_for :create_user

Arguments

NameTypeDefaultDocs
namesatom | list(atom)The name of the step to wait for.

Options

NameTypeDefaultDocs
descriptionString.tAn optional description.

Introspection

Target: Reactor.Dsl.WaitFor

Introspection

Target: Reactor.File.Dsl.Glob