Skip to content

How to use "infoArchive"? #641

@Tatuck

Description

@Tatuck

Hello. I am trying to list the files inside a container. I tried doing it like so:

container.infoArchive({path:"/"}).then(function(err, stream){
    if(err) return console.log(err);
    stream.pipe(process.stdout);
});

But it returns an IncomingMessage object, how does this function work?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions