diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-10-28 21:40:13 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-10-28 21:40:13 +1000 |
| commit | 1e892b09b46de9908ddbdc895031895101313a26 (patch) | |
| tree | 5e3316e036a538473eeb662fbcde1c7eb55b7123 /src/marlin.core/models/meta/Artifact.cs | |
| parent | 38a050c8151b9894c62b2d49ef482807412ea98c (diff) | |
refactor: initial artifact cleanup and implementationmain
Diffstat (limited to 'src/marlin.core/models/meta/Artifact.cs')
| -rw-r--r-- | src/marlin.core/models/meta/Artifact.cs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/marlin.core/models/meta/Artifact.cs b/src/marlin.core/models/meta/Artifact.cs deleted file mode 100644 index dce25a6..0000000 --- a/src/marlin.core/models/meta/Artifact.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace marlin.core.models.meta; - -public class Artifact -{ - public Artifact(string id) - { - this.Id = id; - } - - public string Id { get; } - public string Path { get; set; } - public string Type { get; set; } - public ArtifactHandle Handle { get; set; } = ArtifactHandle.Defer; - - public bool RequiresOrchestratorUpload() - { - return this.Type?.StartsWith("test/") == true || this.Type?.StartsWith("logs/") == true; - } -} - -public enum ArtifactHandle -{ - Immediate, - Step, - Defer -}
\ No newline at end of file |
