forked from microsoft/component-detection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLayerMappedLinuxComponents.cs
More file actions
23 lines (20 loc) · 932 Bytes
/
Copy pathLayerMappedLinuxComponents.cs
File metadata and controls
23 lines (20 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#nullable disable
namespace Microsoft.ComponentDetection.Contracts.BcdeModels;
using System.Collections.Generic;
using Microsoft.ComponentDetection.Contracts.TypedComponent;
/// <summary>
/// Represents a mapping between a Docker layer and the components detected within that layer.
/// This class associates components (both Linux system packages and application-level packages) with their corresponding Docker layer.
/// </summary>
public class LayerMappedLinuxComponents
{
/// <summary>
/// Gets or sets the components detected in this layer.
/// This can include system packages (LinuxComponent) as well as application-level packages (NpmComponent, PipComponent, etc.).
/// </summary>
public IEnumerable<TypedComponent> Components { get; set; }
/// <summary>
/// Gets or sets the Docker layer associated with these components.
/// </summary>
public DockerLayer DockerLayer { get; set; }
}