File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraphParts Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,15 @@ extension InputDependencySourceMap {
57
57
// MARK: - Populating
58
58
extension InputDependencySourceMap {
59
59
public enum AdditionPurpose {
60
- case mocking,
61
- buildingFromSwiftDeps,
62
- readingPriors,
63
- inputsAddedSincePriors }
60
+ /// For testing:
61
+ case mocking
62
+ /// When building from a `swiftdeps` file:
63
+ case buildingFromSwiftDeps
64
+ /// When deserializing the map from a prior build:
65
+ case readingPriors
66
+ /// Adding an entry for an input added to the build since the priors were stored:
67
+ case inputsAddedSincePriors
68
+ }
64
69
@_spi ( Testing) public mutating func addEntry( _ input: TypedVirtualPath ,
65
70
_ dependencySource: DependencySource ,
66
71
`for` _ : AdditionPurpose ) {
You can’t perform that action at this time.
0 commit comments