Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Combined fstream.Reader ? #8

Open
@Filirom1

Description

@Filirom1

Hi,

Is there a way to combine fstream Readers, into one Writer ?

For example I would like to pipe two different folders into a new one.

The ideal would be to do something like this:

fstream.CombinedReaders()
.append(fstream.Reader(dir1))
.append(fstream.Reader(dir2))
.pipe(options.tar ? tar.Pack() : fstream.Writer(outDir))

Or should I use the events do do it manually ?

BTW fstream looks really great, but the doc is quite thin :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions