2 instantiations of Layer
Microsoft.NET.Build.Containers (2)
Layer.cs (2)
52return new(ContentStore.PathForDescriptor(descriptor), descriptor); 249return new(storedContent, descriptor);
10 references to Layer
Microsoft.NET.Build.Containers (10)
ImageBuilder.cs (2)
104/// Adds a <see cref="Layer"/> to a base image. 106internal void AddLayer(Layer l)
ImageConfig.cs (1)
227internal void AddLayer(Layer l)
Layer.cs (3)
50public static Layer FromDescriptor(Descriptor descriptor) 55public static Layer FromDirectory(string directory, string containerPath, bool isWindowsLayer, string manifestMediaType, int? userId = null) 58internal static Layer FromDirectory(
Registry\Registry.cs (2)
481internal async Task PushLayerAsync(Layer layer, string repository, CancellationToken cancellationToken) 638await destinationRegistry.PushLayerAsync(Layer.FromDescriptor(descriptor), destination.Repository, cancellationToken).ConfigureAwait(false);
Tasks\CreateNewImage.cs (2)
186Layer newLayer = Layer.FromDirectory(