2 instantiations of Layer
Microsoft.NET.Build.Containers (2)
Layer.cs (2)
52
return
new
(ContentStore.PathForDescriptor(descriptor), descriptor);
238
return
new
(storedContent, descriptor);
10 references to Layer
Microsoft.NET.Build.Containers (10)
ImageBuilder.cs (1)
108
internal void AddLayer(
Layer
l)
ImageConfig.cs (1)
227
internal void AddLayer(
Layer
l)
Layer.cs (3)
50
public static
Layer
FromDescriptor(Descriptor descriptor)
55
public static
Layer
FromDirectory(string directory, string containerPath, bool isWindowsLayer, string manifestMediaType, int? userId = null)
58
internal static
Layer
FromDirectory(
Registry\Registry.cs (2)
475
internal async Task PushLayerAsync(
Layer
layer, string repository, CancellationToken cancellationToken)
632
await destinationRegistry.PushLayerAsync(
Layer
.FromDescriptor(descriptor), destination.Repository, cancellationToken).ConfigureAwait(false);
Tasks\ContainerArchiveCache.cs (1)
227
Append(hash, ((int)
Layer
.DetermineFileMode(info)).ToString());
Tasks\CreateNewImage.cs (2)
250
Layer
newLayer =
Layer
.FromDirectory(