@hashgraph/solo
    Preparing search index...

    Implements

    Index

    Constructors

    Methods

    • Copy a file into a container

      It overwrites any existing file inside the container at the destination directory

      Parameters

      • sourcePath: string

        the path of the local file to copy

      • destinationDirectory: string

        the remote destination directory

      • Optionalfilter: TarCreateFilter

        the filter to pass to tar to keep or skip files or directories

      Returns Promise<boolean>

      a Promise that performs the copy operation

    • Invoke sh command within a container and return the console output as string

      Parameters

      • cmd: string | string[]
      • OptionaloutputPassThroughStream: PassThrough
      • OptionalerrorPassThroughStream: PassThrough

      Returns Promise<string>

      console output as string