DVCloudArtifact class

A file a build produced, named relative to the target's output directory.

Constructors

DVCloudArtifact({required String name, required int size, required String sha256, bool executable = false, String? link})
const
DVCloudArtifact.fromJson(Map<String, Object?> json)
factory

Properties

executable → bool
The file is a program: a macOS app's Mach-O, a Linux bundle's runner, a web-server binary. Written without its executable bit, none of them run.
final
hashCode → int
The hash code for this object.
no setterinherited
The target of a symbolic link, relative to the link's own directory, when the artifact is one. A macOS framework reaches its binary and its resources through links into Versions/Current, and an app whose links were dropped does not launch.
final
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sha256 → String
final
size → int
final

Methods

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

Operators

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

Static Methods

Whether the link name pointing at target stays inside the download: relative, and never climbing above the directory the artifacts go in.
isSafeName(String name) → bool
A name is written under the client's own directory, so one that climbs out of it, or is absolute, is refused before anything is written.