Integrate private destinations for layered inputs
This commit is contained in:
@@ -186,6 +186,7 @@ type SourceInfo struct {
|
||||
ID string
|
||||
Label string
|
||||
Path string
|
||||
Destination Path
|
||||
Layer Layer
|
||||
Kind SourceKind
|
||||
UnderlayIndex int
|
||||
@@ -260,6 +261,7 @@ func cloneLocations(locations []Location) []Location {
|
||||
|
||||
func cloneSourceInfo(source SourceInfo) SourceInfo {
|
||||
source.ImportedFrom = cloneLocation(source.ImportedFrom)
|
||||
source.Destination = source.Destination.clone()
|
||||
return source
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user