1 write to Path
Aspire.Hosting (1)
Pipelines\PipelineOutputChange.cs (1)
29
Path
= path;
36 references to Path
Aspire.Hosting (2)
Pipelines\PipelineOutputDiffingExtensions.cs (2)
218
var lines = changes.OrderBy(change => change.
Path
, comparer).ThenBy(change => change.Kind)
219
.Select(change => $" {change.Kind}: {change.
Path
}");
Aspire.Hosting.Tests (34)
Pipelines\PipelineOutputChangeTests.cs (1)
22
Assert.Equal(path, change.
Path
);
Pipelines\PipelineOutputComparisonTests.cs (9)
46
change => { Assert.Equal(PipelineOutputChangeKind.Added, change.Kind); Assert.Equal("added.txt", change.
Path
); },
47
change => { Assert.Equal(PipelineOutputChangeKind.Changed, change.Kind); Assert.Equal("changed.txt", change.
Path
); },
48
change => { Assert.Equal(PipelineOutputChangeKind.Removed, change.Kind); Assert.Equal("removed.txt", change.
Path
); });
52
Assert.Equal(changes.Select(change => (change.Kind, change.
Path
)), repeated.Select(change => (change.Kind, change.
Path
)));
104
Assert.Equal("artifact.txt", change.
Path
);
156
Assert.Equal("artifact.txt", change.
Path
);
178
Assert.Equal("artifact.txt", change.
Path
);
181
Assert.Equal(Path.Combine("nested", "artifact.txt"), reverse.
Path
);
Pipelines\PipelineOutputGitFingerprintTests.cs (11)
57
Assert.Equal(Path.GetRelativePath(root, path), change.
Path
);
177
Assert.Equal(Path.GetRelativePath(root, path), change.
Path
);
224
Assert.Equal("model.txt", change.
Path
);
262
Assert.Equal("link", rawChange.
Path
);
273
Assert.Equal(rawChange.
Path
, change.
Path
);
351
Assert.Equal("link", change.
Path
);
383
Assert.Equal("model.txt", change.
Path
);
514
Assert.Equal(Path.GetRelativePath(root, path), change.
Path
);
564
Assert.Equal(Path.GetRelativePath(root, path), change.
Path
);
588
Assert.True(string.Equals(Path.GetRelativePath(requested, path), change.
Path
, PipelineOutputRoot.PathComparison));
Pipelines\PipelineOutputSelectionTests.cs (10)
88
Assert.Equal(Path.GetRelativePath(root, artifact), change.
Path
);
244
Assert.Equal("control.txt", change.
Path
);
292
Assert.Equal(Path.GetRelativePath(root, artifact), change.
Path
);
314
Assert.Equal(Path.GetRelativePath(root, artifact), change.
Path
);
358
Assert.Equal("artifact.txt", change.
Path
);
661
Assert.Equal(Path.GetRelativePath(root, link), change.
Path
);
690
change => { Assert.Equal(PipelineOutputChangeKind.Added, change.Kind); Assert.Equal(Path.GetRelativePath(root, original), change.
Path
); },
691
change => { Assert.Equal(PipelineOutputChangeKind.Removed, change.Kind); Assert.Equal(Path.GetRelativePath(root, tracked), change.
Path
); });
764
Assert.Equal(new[] { tracked, direct }.Select(path => Path.GetRelativePath(root, path)).Order(PipelineOutputRoot.PathComparer), changes.Select(change => change.
Path
));
868
Assert.Equal(Path.GetRelativePath(root, artifact), change.
Path
);
Pipelines\PipelineOutputSnapshotterTests.cs (1)
692
Assert.Equal(path, change.
Path
);
Pipelines\PipelineOutputStrategyTests.cs (2)
143
Assert.Equal(Path.GetRelativePath(directory, path), change.
Path
);
609
Assert.Equal(Path.Combine("ignored-child", "model.txt"), change.
Path
);