CopyToRemoteArgs class

The set of arguments for CopyToRemote. The set of arguments for CopyToRemote.

Constructors

CopyToRemoteArgs({required Input<Connection> connection, required Input<String> remotePath, required Input source, Input<List>? triggers})
Creates a new CopyToRemoteArgs. connection The parameters with which to connect to the remote host. remotePath The destination path on the remote host. Any necessary parent directories will be created automatically. When the remote path is an existing directory, the source file or directory will be copied into that directory. When the source is a file and the remote path is an existing file, that file will be overwritten. When the source is a directory and the remote path an existing file, the copy will fail. source An asset or an archive to upload as the source of the copy. It must be a FileAsset, StringAsset, or a FileArchive. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files. triggers Trigger replacements on changes to this input.
const
CopyToRemoteArgs.fromMap(Map<String, dynamic> map)
factory

Properties

connection → Input<Connection>
The parameters with which to connect to the remote host.
final
hashCode int
The hash code for this object.
no setterinherited
remotePath → Input<String>
The destination path on the remote host. Any necessary parent directories will be created automatically. When the remote path is an existing directory, the source file or directory will be copied into that directory. When the source is a file and the remote path is an existing file, that file will be overwritten. When the source is a directory and the remote path an existing file, the copy will fail.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source → Input
An asset or an archive to upload as the source of the copy. It must be a FileAsset, StringAsset, or a FileArchive. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files.
final
triggers → Input<List>?
Trigger replacements on changes to this input.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited