the path to the file to copy
the destination directory
Copy a file into a container
It overwrites any existing file inside the container at the destination directory
the path of the local file to copy
the remote destination directory
Optional
filter: TarCreateFilterthe filter to pass to tar to keep or skip files or directories
a Promise that performs the copy operation
Invoke sh command within a container and return the console output as string
sh commands as an array to be run within the containerName (e.g 'ls -la /opt/hgcapp')
console output as string
Check if a directory exists in the specified container
the path to the directory inside the container
Check if a file exists in the specified container
the remote path to the file
Optional
filters: objectoptional filters to apply to the tar stream
List files and directories in a container
It runs ls -la on the specified path and returns a list of object containing the entries. For example: [{ directory: false, owner: hedera, group: hedera, size: 121, modifiedAt: Jan 15 13:50 name: config.txt }]
the remote path to the directory
a promise that returns array of directory entries, custom object
Make a directory in the specified container
the remote path to the directory
Copy a file from a container
It overwrites any existing file at the destination directory