base.map_files

Enumerate the files of an input collection and emit one expansion item per file. The canonical "for each file in this directory" map block. Downstream blocks receive one invocation per file and run in parallel.

  • Kind: map
  • Network: no

Inputs🔗

NameTypeDescription
sourcecollection of fileCollection of files to fan out over.

Outputs🔗

NameTypeDescription
manifestexpansionExpansion manifest with one item per input file. Each item's key is the file stem and path points at the file under inputs/source/.

Example🔗

- id: 01890000-0000-0000-0000-000000000007
  name: base.map_files
  inputs:
    - 01890000-0000-0000-0000-000000000000

See Map/Reduce for how downstream blocks consume the expansion.