From 1e892b09b46de9908ddbdc895031895101313a26 Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Wed, 28 Oct 2026 21:40:13 +1000 Subject: refactor: initial artifact cleanup and implementation --- src/marlin.core/models/meta/Artifact.cs | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/marlin.core/models/meta/Artifact.cs (limited to 'src/marlin.core/models/meta/Artifact.cs') 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 -- cgit v1.3.1